mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 07:04:33 +00:00
71cf35ce42
# Objective - Use the prepass textures in webgl ## Solution - Bind the prepass textures even when using webgl, but only if msaa is disabled - Also did some refactors to centralize how textures are bound, similar to the EnvironmentMapLight PR - ~~Also did some refactors of the example to make it work in webgl~~ - ~~To make the example work in webgl, I needed to use a sampler for the depth texture, the resulting code looks a bit weird, but it's simple enough and I think it's worth it to show how it works when using webgl~~ |
||
---|---|---|
.. | ||
android-res/mipmap-mdpi | ||
branding | ||
data | ||
environment_maps | ||
fonts | ||
models | ||
pixel | ||
scenes | ||
shaders | ||
sounds | ||
textures |