[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Public WebGL] EXT_shader_texture_lod in WebGL2?

2017-01-20 18:15 GMT+02:00 Florian Bösch <pyalot@gmail.com>:
source = source.replace(/textureCubeLodExt/g, 'textureCubeLod')

Went down that path, though unfortunately such a function does not exist. There is textureLod() in GLSL 3.0, but then like mentioned above, one has to do a bunch of other search-replaces. Got that working, but it is super hacky.