#GLSL Error: Invalid Enum

4 messages · Page 1 of 1 (latest)

severe moth
#

and further, adding a samplerCube to the struct causes the entire game to crash.
Even with depth_cube_map commented out, and changed to match the structs cube_map instead

severe moth
#

GLSL Error: Invalid Enum

#

Here's an example of NOT setting the depth_cube_map.

#

So both sampler2D and samplerCube are 0