[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Public WebGL] EXT_shader_texture_lod in WebGL2?
source = source.replace(/textureCubeLodExt/g, 'textureCubeLod')
Most serious WebGL code usually does some serious preprocessing on the shaders before submitting them, I'm guessing yours is no different. There's various glsl parsers and the like you use to do this properly.