Announcement

Collapse
No announcement yet.

Using a Ramp for a Environment Fog Gizmo colour

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Using a Ramp for a Environment Fog Gizmo colour

    https://docs.chaos.com/display/VMAYA...nmentFog-color

    "For the last 2 images, the fog Color has been mapped with a texture. World XYZ mapping type was used for the textures."

    How exactly is this achieved? I've tried plugging in a ramp to the emission attribute for the Environment fog but it only sees the first colour, and doesn't use the UVs of my gizmo object. I've tried using a projection node plugged into the emission colour too, but this doesn't work either.

    I'm attempting to use Env' fog to create a spaceship thruster, and need to map its colour via a ramp.

    Click image for larger version

Name:	image.png
Views:	137
Size:	16.1 KB
ID:	1220596
    Click image for larger version

Name:	image.png
Views:	145
Size:	26.8 KB
ID:	1220595
    Click image for larger version

Name:	image.png
Views:	137
Size:	436.9 KB
ID:	1220597​​

  • #2
    This is how I set it in Max, using just emission and transparency...don't know if that helps or not but it should translate.
    Just in case it's not noticeable, I set the mapping to objecxtxyz rather than world, which works fine for noise but not a gradient in this instance
    Attached Files
    Last edited by fixeighted; 19-11-2024, 12:21 AM.
    https://www.behance.net/bartgelin

    Comment


    • #3
      Thank you for your response. Unfortunately, in Maya there isn't the option to set the mapping in the same way on a ramp node. A 2D UV-Based node or 3D projection has to be plugged in to the texture.

      Maya scene example here: https://we.tl/t-UlNWkDznfm

      Comment


      • #4
        Hi sebbiej,

        Thank you for raising this! There is a mistake in the documentation page and I'll correct it.

        You can use the projection node set as a Cylindrical and it should work as shown in the example. I'm attaching a simple setup you can download and check.

        Click image for larger version

Name:	EnvFog_ShadingGroup_Setup.png
Views:	6
Size:	183.4 KB
ID:	1220668

        Here's a link to the folder with the scene.

        Cheers,
        Kristin
        Kristin Ivanova

        Technical Writer
        www.chaos.com
        https://docs.chaos.com/

        Comment


        • #5
          Brilliant, thank you very much Kristin! I'll check that out today.

          Comment


          • #6
            I'm guessing this setup doesn't work with VRay GPU?

            Comment


            • #7
              Hey sebbiej,

              It won't work with V-Ray GPU as setting VRayEnvironmentFog into a container is not supported yet.

              Cheers,
              Kristin
              Kristin Ivanova

              Technical Writer
              www.chaos.com
              https://docs.chaos.com/

              Comment

              Working...
              X