b8b4cb07a7
Steven used multisampled textures from the beginning, but this caused incompatibilities: https://github.com/Thinkofname/steven/issues/74. Subsequently fixed by increasing the number of samples, but increasing it beyond the limit caused more incompatibilities, so it was clamped to the maximum samples reported as supported by the system. Fast-forward to now, as part of adding WebGL support (#446), the use of multisampled textures via the glTexImage2DMultisample() call is unsupported on this platform. Replace the following: * glTexImage2DMultisample -> glTexImage2D * TEXTURE_2D_MULTISAMPLE -> TEXTURE_2D * sampler2DMS -> sampler2D This disables the custom multisampling anti-aliasing algorithm (MSAA) implemented in the chunk fragment shader, increasing compatibility: * Update to glow release, remove image_2d_sample() MSAA may be added back at a later date using multisampled renderbuffers instead, see #442. |
||
---|---|---|
.. | ||
shaders | ||
atlas.rs | ||
clouds.rs | ||
glsl.rs | ||
mod.rs | ||
model.rs | ||
shaders.rs | ||
ui.rs |