Alright, I’ve published the updated code that uses the active camera:
Viewing post in Old School Screen Shader comments
Can you tell me how to use it? I tried using what I thought was the method, but obviously didn't succeed.
Also, I'm not sure if our descriptions are consistent. What I mean is that switching cameras cannot maintain the shader effect. If two shaders are added, switching camera shaders will cause problems. So I need a solution to switch cameras while still maintaining shader effects. I tried downloading the js file from the link and replacing Old School.js. But obviously there is a problem. Actually, I'm not quite sure how this shader works
I don’t get what the issue is — how to use it is explained in the descriptions, just re-read them. In the updated CopperCube Screen Shader Extension, you can now switch cameras without any problems. If you want to use multiple different effects, then yeah, you’ll need to combine them into a single shader and write a callback to switch between the effects.
I have encountered a serious issue where when the game scene restarts, the camera sometimes feels like it's stuck inside something, making it difficult to move and even getting stuck outside the level. More serious games will be closed directly. I am very certain that it is a problem with the shader because when I turned off the shader, my game never had any issues again. If you need it, I can record a video and send it to you