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:
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?
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 also use VRayOSLTex and it seems to be working fine. Has anyone else had this issue?
Comment