Open bbbbx opened 2 years ago
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.
sampler2D transmittance_texture
sampler3D single_mie_scattering_texture
glDrawArrays
GL_INVALID_OPERATION
Avoid use default location 0(already used for
sampler2D transmittance_texture
) forsampler3D single_mie_scattering_texture
, otherwise callingglDrawArrays
will cause a black window with errorGL_INVALID_OPERATION
on macOS M1.