Transition effect using shaders

Hi, I read the conversation on the following link.
Playcanvas.com/forum/t/working-with-shader-chunks/27449

I also looked at the tutorial project that used the dissolve effect (Custom Shaders | PlayCanvas Developer Site). I made modifications and built a back-and-forth transition effect from one diffuse map to another (Transition_Shader - PLAYCANVAS), but I discovered that the orbit camera isn’t functioning in either the tutorial project or my own project even after attaching orbitCamera/mouseInput scripts to the camera. Is there a constraint I’m unaware of, or am I doing something incorrectly?

Thanks for any suggestion/help.

I have updated to camera-controls.mjs script in that Custom Shaders tutorial project. It should work properly now! :smile:

The script was taken from here:

1 Like

Works like a charm! Thank you @will.
Could you please also let me know why doesn’t the orbit camera script work with shaders?

It should do. What doesn’t work specifically?