summaryrefslogtreecommitdiff
path: root/doc/classes/Polygon2D.xml
diff options
context:
space:
mode:
authorsantouits <santouits@users.noreply.github.com>2019-01-22 00:42:26 +0200
committersantouits <santouits@users.noreply.github.com>2019-01-22 13:40:28 +0200
commit3c1cd2873b772fbf82184fbf36e8ae891d9829cf (patch)
treea8495d2691512e0b40ab4ed126f620392df72bbb /doc/classes/Polygon2D.xml
parent0b0dba38c766a06f169fb492cc6f8c7c3e444de5 (diff)
WebGL1 some changes
glRenderBufferStorage doesn't accept the _DEPTH_COMPONENT24_OES so I changed it to GL_DEPTH_COMPONENT16 https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/renderbufferStorage https://www.khronos.org/registry/webgl/extensions/rejected/OES_depth24/ Enabled ext_shader_texture_lod extension. I guess it does the same like the GL_ARB_shader_texture_lod extension, but in WebGL1 https://www.khronos.org/registry/webgl/extensions/EXT_shader_texture_lod/ And last WebGL1 doesn't allow indexes not constant, so I changed it into a loop reading this: https://stackoverflow.com/questions/19529690/index-expression-must-be-constant-webgl-glsl-error
Diffstat (limited to 'doc/classes/Polygon2D.xml')
0 files changed, 0 insertions, 0 deletions