In Cg I could do this:
uniform float4x4 trans_model_to_clip_of_light
but in GLSL this doesn’t seem to work (all zeroes I think):
uniform mat4 trans_model_to_clip_of_light
Is different formatting needed?
In Cg I could do this:
uniform float4x4 trans_model_to_clip_of_light
but in GLSL this doesn’t seem to work (all zeroes I think):
uniform mat4 trans_model_to_clip_of_light
Is different formatting needed?