Hi,
For some reason I cannot find the official documentation of shadow2DProj function. In particular I want to know what the bias parameter does. Also, are there any differences to shadow2DProjExt (the opengl es extension)?
Hi,
For some reason I cannot find the official documentation of shadow2DProj function. In particular I want to know what the bias parameter does. Also, are there any differences to shadow2DProjExt (the opengl es extension)?
The most official documentation, so to say, is the specification. It is maintained by the Khronos Group, especially in their registry for OpenGL, where you can find the PDF about GLSL 4.40 (besides all other documents, also former versions). Jump down to page 171 in that PDF.
The most official documentation, so to say, is the specification. It is maintained by the Khronos Group, especially in their registry for OpenGL, where you can find the PDF about GLSL 4.40 (besides all other documents, also former versions). Jump down to page 171 in that PDF.
I always felt like there was something missing when learning OpenGL until I started looking stuff up in the specifications. I don't think the function documentation is enough, and I have never understood why they don't at least point to the spec for more information.
+1