[SOLVED] Dynamic Refraction shader broken?

Hi,

I created a simple example project and just added a new material that utilize Dynamic Refractions.
https://playcanvas.com/editor/scene/1949615

When running the application this error pops up:
Shader [Shader Id 1 LitShader-forward-proc] requires texture sampler [uSceneColorMap] which has not been set, while rendering [Pass:RenderPassForward | Camera | World(OPAQUE) | Node: Box | Box]

Is there anything I’m doing wrong or is there some WEBGL specific issue with Chrome for example?

Found a solution:

There’s a checkbox on the camera called Color Grabpass.
Make sure it’s enabled and refractions will work again.

Not sure if it’s the correct solution though. Feel free to correct me otherwise.

1 Like

It is the correct solution.

We need to add this to the documentation ASAP! :smile: