precomputed_atmospheric_scattering
precomputed_atmospheric_scattering copied to clipboard
Fix textures of different types use the same location
Avoid use default location 0(already used for sampler2D transmittance_texture
) for sampler3D single_mie_scattering_texture
, otherwise calling glDrawArrays
will cause a black window with error GL_INVALID_OPERATION
on macOS M1.