stevenarella/src
iceiix b8b4cb07a7
Disable multisampled textures, glTexImage2DMultisample (#447)
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.
2020-12-27 10:14:39 -08:00
..
console Add missing default implementations (new_without_default) 2020-06-29 18:42:07 -07:00
ecs Use add(x) instead of offset(x as isize), fixes ptr_offset_with_cast 2020-06-30 18:56:08 -07:00
entity Use += to fix assign_op_pattern 2020-06-30 19:03:59 -07:00
gl Disable multisampled textures, glTexImage2DMultisample (#447) 2020-12-27 10:14:39 -08:00
model Use `matches!` for bool match (clippy match_like_matches_macro) 2020-10-10 16:22:46 -07:00
render Disable multisampled textures, glTexImage2DMultisample (#447) 2020-12-27 10:14:39 -08:00
screen server_list: implement server deletion, fixes #355 (#361) 2020-07-04 17:42:17 -07:00
server 1.16.4 (754) / 1.16.3 (753) / 1.16.2 (751) protocol (#390) 2020-11-24 19:01:57 -08:00
ui Use web-sys for web backend (#444) 2020-12-26 13:43:21 -08:00
world 1.16.4 (754) / 1.16.3 (753) / 1.16.2 (751) protocol (#390) 2020-11-24 19:01:57 -08:00
auth.rs Update to use crate:: for current crate, for Rust 2018 edition 2018-11-04 12:06:00 -08:00
chunk_builder.rs Fix redundant clones 2020-06-29 18:48:07 -07:00
main.rs Use web-sys for web backend (#444) 2020-12-26 13:43:21 -08:00
resources.rs Use more descriptive name to fix blacklisted_name 'bar' (as in foobar) 2020-07-02 17:17:51 -07:00
settings.rs Use web-sys for web backend (#444) 2020-12-26 13:43:21 -08:00