diff options
author | santouits <santouits@users.noreply.github.com> | 2019-01-22 00:42:26 +0200 |
---|---|---|
committer | santouits <santouits@users.noreply.github.com> | 2019-01-22 13:40:28 +0200 |
commit | 3c1cd2873b772fbf82184fbf36e8ae891d9829cf (patch) | |
tree | a8495d2691512e0b40ab4ed126f620392df72bbb /doc/classes/AStar.xml | |
parent | 0b0dba38c766a06f169fb492cc6f8c7c3e444de5 (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/AStar.xml')
0 files changed, 0 insertions, 0 deletions