- Home /
How to make sun flare visible through certain objects
How do you make the sun flare effect visible through objects such as glass walls or fences without turning off the collider? In particular, are there ways to achieve this when using either transparent or cutout shaders?
Answer by FallingRocketGames · May 29, 2018 at 06:54 PM
You can try a couple of things here, you can go to Edit -> Project Settings -> Physics and check the layer collision matrix if you set correctly your layers you can uncheck the layers you don't want to interact with each other and therefore ignore the colliders of certain objects.
The other one is to add a lens flare component to your light and then you can play with the "Ignore layers" option basically goes back to the layer setup of your proyect a window must be on the TransparentFX layer
Your answer
Follow this Question
Related Questions
Is it possible to create a glass shader in Unity Free? 1 Answer
How do I achieve this effect? 2 Answers
Dirty Lens effect like BF3 2 Answers
BloomAndFlares Monodevelop compile error 0 Answers
How i make flare/shine bullets like in Battlefield? 1 Answer