- Home /
Make sprite ignore image effect
Hey,
I'm working on a 2D game and the image effects + "lights" prevent me from working on.
The problem is that I have an image effect on the camera (Color Correction Curves) which are affecting everything on screen. The point is that I'd have night environment but with street lamps (which would also be sprites) and I can't find any solution regarding this. I've tried with 2 cameras and it would work perfectly it the second "weren't rendering on the screen". I need the lights to stay where they are and not be rendered on common screen.
Example:
Main camera is following the player and has image effect on it. Second camera is depth-only, rendering only Light layer.
Left: Scene view, showing position of both cameras Right: Game view, common screen for both cameras.
I want the light to be (stay) on the same spot if the player (and camera that's following the player) moves. What I need is work around that the lights "are excluded" from image effects.
Best, B.
Your answer
Follow this Question
Related Questions
Crop/Mask a Sprite on runtime 0 Answers
Render sprite on sprite ignoring alpha? 1 Answer
Why is my sprite not the original resolution? 2 Answers
I have an animaiton problem about sprite loading. 0 Answers
How to blur objects based on distance from the camera using Unity's optimized blur effect? 0 Answers