Announcement

Collapse
No announcement yet.

PhxShaderOceanTex and displacement issue

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

  • PhxShaderOceanTex and displacement issue

    I've been trying to use the PhxShaderOceanTex (included in the latest builds) to create an infinite ocean plane in Maya and V-Ray. Unfortunately I've had no luck in getting the displacement to work correctly with the texture.

    Here's a plane with vrayDisplacement node and VRayWater texture attached to it. Everything is working as expected.

    Click image for larger version

Name:	vray_displacement_issue_01.jpg
Views:	1
Size:	217.1 KB
ID:	881285

    Here's the PhxShaderOceanTex attached to the Self-Illumination channel on the same plane. It certainly looks like a proper vector displacement map, so far so good.

    Click image for larger version

Name:	vray_displacement_issue_03.jpg
Views:	1
Size:	180.7 KB
ID:	881283

    And here's what happens when I try to use PhxShaderOceanTex to drive the vector displacement. The displacement seems to happen on a single flat axis and no matter what I try it stays that way.

    Click image for larger version

Name:	vray_displacement_issue_02.jpg
Views:	1
Size:	186.9 KB
ID:	881284

    Does anyone have any ideas what I might be doing wrong or am I missing something obvious?
    www.tuomaskankola.com
    www.trollvfx.com

  • #2
    Why don't you just attach the scene?
    V-Ray/PhoenixFD for Maya developer

    Comment


    • #3
      Ah yeah, sorry. Here you go.
      Attached Files
      www.tuomaskankola.com
      www.trollvfx.com

      Comment


      • #4
        You must create this texture with 3d placement, not 2d (can be replaced). The up axis must be 1 if you work with y pointing up. There is small bug with this texture - the rgb offset parameter is 1.0 by default, but you probably want it 0.0, so the surface stays where it should be. Sometimes, you also need to set explicit displacement bounds.
        V-Ray/PhoenixFD for Maya developer

        Comment


        • #5
          Ah, thanks. I'll give it a go.
          www.tuomaskankola.com
          www.trollvfx.com

          Comment


          • #6
            Got it working now, thanks! Exactly what I needed.

            As an extra question, is there a way to get a whitecaps channel out of the texture to use as a mask for a foam map?
            www.tuomaskankola.com
            www.trollvfx.com

            Comment


            • #7
              I don't think it's possible.
              V-Ray/PhoenixFD for Maya developer

              Comment

              Working...
              X