precomputed_atmospheric_scattering icon indicating copy to clipboard operation
precomputed_atmospheric_scattering copied to clipboard

Fix textures of different types use the same location

Open bbbbx opened this issue 2 years ago • 0 comments

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.

bbbbx avatar May 28 '22 16:05 bbbbx