Page 1 of 1

Applying Main Camera CRT Effect to Dialogue Canvas

Posted: Fri Aug 04, 2023 6:22 pm
by Nokinori
Hello,

I'm using a heavily edited VN Template for my dialogue. I've attached a script to main camera which uses a shader, materials, and textures to render a CRT filter. The dialogue manager's canvas components are not included in the render, and I'm having trouble figuring out how to fix that. I would like them to also inherit the CRT effect.

Re: Applying Main Camera CRT Effect to Dialogue Canvas

Posted: Fri Aug 04, 2023 8:31 pm
by Tony Li
Hi,

If your dialogue UI is in a space space - overlay canvas then it won't be affected by your CRT effect unless it's a screen space effect. Try changing the canvas to screen space - camera.

Re: Applying Main Camera CRT Effect to Dialogue Canvas

Posted: Fri Aug 04, 2023 8:42 pm
by Nokinori
That works perfectly, thank you. I've still got a lot to learn about Unity, I appreciate the help!

Re: Applying Main Camera CRT Effect to Dialogue Canvas

Posted: Fri Aug 04, 2023 9:06 pm
by Tony Li
Glad to help!