summaryrefslogtreecommitdiff
path: root/doc/classes/ShaderMaterial.xml
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2019-10-25 12:24:17 +0200
committerRémi Verschelde <rverschelde@gmail.com>2019-10-25 13:01:10 +0200
commit69003457b30b20e34c6bfcb75cd8f0b45c28a77c (patch)
tree969f4c1220d5313dc27b3fd94822a3bec7f4dd28 /doc/classes/ShaderMaterial.xml
parent2869c13ba2f1ce2b17f30b611eb1eb7f0fa4a472 (diff)
WebGL 2.0: Force decompressing non power-of-2 textures with repeat/mipmap
While OpenGL ES 3.0 and WebGL 2.0 both support non power-of-2 (NPOT) textures in their specification, the situation seems to be less clear about *compressed* NPOT textures using repeat or mipmap flags. At least Chrome on Linux doesn't seem to support this combination, and a variety of mobile hardware have similar limitations. As a workaround, we force decompressing such textures when running on WebGL 2.0, at the cost of loading time and memory usage. Fixes #33058.
Diffstat (limited to 'doc/classes/ShaderMaterial.xml')
0 files changed, 0 insertions, 0 deletions