Announcement

Collapse
No announcement yet.

IPR CUDA : Layered texture 'alpha is luminance' and reflection glossiness broken.

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

  • IPR CUDA : Layered texture 'alpha is luminance' and reflection glossiness broken.

    Hi it seems again that there are problems with the alpha is luminance setting in the layered texture setting. Render with cpu/ipr its fine, with cuda its broken.


    1.Create a vraymtl and layered texture.
    2. Change colour of first layer to white
    3. Connect alpha of layered texture to reflection glossiness.

    render in cpu and then cuda

    Also if you connect the layered texture to the reflection color and have the colour slider at full (i.e white) it renders black, it seems if you have rgb set to 1,1,1 it wont work either.


    This is with vray 3.5 release and maya 2016
    e: info@adriandenne.com
    w: www.adriandenne.com

  • #2
    Ok so it looks like its not the alpha is luminance, its just the whole layered texture doesnt work with reflection glossiness, ive tried connecting the rgb channels individually and it doesnt work in cuda mode.
    Last edited by francomanko; 09-04-2017, 05:30 PM.
    e: info@adriandenne.com
    w: www.adriandenne.com

    Comment


    • #3
      Seems like a bug, I'll let the devs know. Until we fix it, you can try passing the color result from the layered texture through a luminance node and it should work. Will that work for you? Here's an example:
      Click image for larger version

Name:	layeredTex_luminance.png
Views:	1
Size:	39.1 KB
ID:	867370
      Alex Yolov
      Product Manager
      V-Ray for Maya, Chaos Player
      www.chaos.com

      Comment


      • #4
        Actually it works for me with "alpha is luminance" enabled, I don't know why it wouldn't in your case. You could share the scene so we can have a look, if that's OK. Other than that, it renders perfectly fine here on the GPU.
        Alex Yolov
        Product Manager
        V-Ray for Maya, Chaos Player
        www.chaos.com

        Comment


        • #5
          thats a bit odd, as i just created a fresh scene, based on my first post and the error is there. Anyway ive attached project folder and scene.

          Thanks
          Attached Files
          e: info@adriandenne.com
          w: www.adriandenne.com

          Comment


          • #6
            Thanks, I think I know what's going on now. It is a bug, from the looks of it, but here's what you can try as a workaround, until it's fixed: with alpha is luminance the alpha is considered to be 0 by the GPU, when the color is pure white, try a non-pure-white value. Or if you want areas of pure white - lower the layer's alpha and untick "alpha is luminance" - seems to work well too.
            Alex Yolov
            Product Manager
            V-Ray for Maya, Chaos Player
            www.chaos.com

            Comment


            • #7
              Thanks for reply, but i only used the white color layer as a quick example of it being broken, i would always have textures in there really.

              Also can you send me your scene that works with your workaround, because i have the same problem, it works with cpu but not cuda?

              thanks
              e: info@adriandenne.com
              w: www.adriandenne.com

              Comment


              • #8
                Here's a quick example

                Click image for larger version

Name:	layeredTex_CPU.png
Views:	1
Size:	391.4 KB
ID:	867515
                Click image for larger version

Name:	layeredTex_GPU.png
Views:	1
Size:	409.2 KB
ID:	867516

                layeredTex_GPU.zip
                Edit: You'll have to replace the HDR I've used with another one, since I haven't included it.
                Last edited by yolov; 24-04-2017, 06:54 AM.
                Alex Yolov
                Product Manager
                V-Ray for Maya, Chaos Player
                www.chaos.com

                Comment


                • #9
                  Ive loaded the scene as is, rendered an ipr with cuda, and all i get is a grey sphere. Cpu works fine
                  e: info@adriandenne.com
                  w: www.adriandenne.com

                  Comment


                  • #10
                    You are correct, I just realized that it actually doesn't work with the official build. In any case - it's already been reported to the devs and I'll let you know when there's a fix.
                    But I also tried piping a luminance node between the layeredTex and the vrayMtl and it seems to work with GPU, could you try that?
                    Last edited by yolov; 25-04-2017, 04:22 AM.
                    Alex Yolov
                    Product Manager
                    V-Ray for Maya, Chaos Player
                    www.chaos.com

                    Comment


                    • #11
                      yeah that works...thx for help.
                      e: info@adriandenne.com
                      w: www.adriandenne.com

                      Comment

                      Working...
                      X