- Home /
Screen Space Reflection in WebGL?
Hi, I am using Unity 2017.1 and I want to know if WebGL supports Screen Space Reflection because when I'm switching platform from the standalone to WebGL, it automatically removes it from the command buffers. I also want to know if there is possible way to obtain the same Screen Space Reflection effects on WebGL if there aren't any. Thanks!
Answer by miramaslow · Aug 10, 2017 at 09:32 AM
Turns out I need to change my Graphics Emulation to WebGL 2.0 and uncheck the Auto Graphic API from the Player Settings but I need to do them both every time I want to build the game though =='. I'm not sure how to keep the settings but this will work for now.
Here's the source.
Answer by jspivack · Jul 15, 2018 at 05:09 PM
@miramaslow Old thread, but could you elaborate on how you made this work? Even with following all the instructions I'm still not able to see screen space reflections in WebGL2 -- it works in editor when I "emulate WebGL2" settings, but running the build in chrome or Firefox the reflections don't render.
I don't think so-- IIRC it's because Chrome requires the compute shader which is behind a startup flag in Canary. Enabling that might work though: https://github.com/9ballsyndrome/WebGL_Compute_shader
Your answer
Follow this Question
Related Questions
Do reflection probes work in WebGL? 0 Answers
Extend screen space reflections in hdrp 0 Answers
How to get blurred mirror effect in webGL? 1 Answer
WebGL reflection cubemap artifact on mesh 0 Answers
If WebGL doesnt support 32bit OS then what do i do? 1 Answer