Announcement

Collapse
No announcement yet.

VRayGLSTex - Preview is black

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

  • VRayGLSTex - Preview is black

    We are making some GLSL maps for Max but the material preview is always black. 'Show preview' is checked.

    I am not sure if we are doing something wrong or not?

    I am expecting to see a flat colour for the following:

    Code:
    #version 110
     
    __color uniform vec3 input_color = vec3(1.0, 0.5, 0.25);
     
    uniform float alpha = 1.0;
    uniform float gamma = 1.0;
     
    void main() {
      gl_FragColor = vec4(pow(input_color, vec3(1.0 / gamma)), alpha);
    }
    We are using Max Design 2012, Update 12 and VRay 3.30.05

    We also use VRayOSLTex and it seems to be working fine. Has anyone else had this issue?

  • #2
    Currently VRayGLSTex preview is not supported but you could plug that texture into VRayLightMtl or VRayMtl and see the preview of the material instead:
    Click image for larger version

Name:	3dsmax_2016-04-01_12-51-23.png
Views:	1
Size:	305.9 KB
ID:	860323
    Last edited by svetlozar.draganov; 16-05-2016, 12:58 AM.
    Svetlozar Draganov | Senior Manager 3D Support | contact us
    Chaos & Enscape & Cylindo are now one!

    Comment


    • #3
      Thanks for the tip! Unfortunately the workaround is not really efficient when dealing with multiple maps.

      We will have to exclusively use VRayOSLTex unless this is something that is planned to be released soon, I am not sure if you can give timeframes?

      Comment

      Working...
      X