- Home /
How to make a dirt effect
Hi, I want to make a dirt effect like in battlefield 3 when you look at a light or the sun, what happens when you do that is that the light lights up a area of a transparent image. I have no idea how to do this, so how do I achieve this?
Here's an example:
By dirt, you mean a dirty part of the windshield, which is only visible when the light hits it? The lower-leftish part?
That looks like a standard spec-map, with the specular angle cranked (but I've never done that, in Unity.)
It doesn't look like it's anything more than a lens flare.
Your answer
![](https://koobas.hobune.stream/wayback/20220613121535im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Shader errors 0 Answers
How to make projector/light shader "alpha enabled"? 2 Answers
Multiple Light Shader 'Light Box' Bug 0 Answers
Force Field Texture/Shader? 1 Answer
Block/Obscure light without shadows 0 Answers