gdkchan / SPICA

Experimental H3D tool
The Unlicense
93 stars 46 forks source link

fixed a missing declaration in FragmentShaderBase #85

Closed marius851000 closed 2 years ago

marius851000 commented 4 years ago

Based on the patch here: https://github.com/gdkchan/SPICA/issues/47. I think it is important to have a good default that build. The question is: does it work for other's computer ? I think it should. It is specified here: https://www.khronos.org/registry/OpenGL/extensions/ARB/ARB_gpu_shader5.txt . I have no idea why it work with driver, and not some other, but it is probably applied by default by some. It may however require more testing with other driver. It work for me, however.