I am doing similar project like this Mahindra Thar Roxx ,
I don’t think any postProcessing is used here. But how this headlights on is working like a perfect glow.
- Create your light source.
- Put a Plane mesh in front of that light source.
- On each frame make sure plane is facing the camera using for ex. .lookAt or by copying camera quaternion to the plane
- Add a material to the plane that has just a radial gradient (can be by using a texture, an SDF, or a custom radius shader, doesn’t really matter.)
- Set material blending to Additive and .depthTest to false.
1 Like
@mjurczyk Thanks for your kind replay, But I don’t get it. could you please share any examples if possible.
I used a lensflare for this example. Which works similar to what @mjurczyk suggested.
2 Likes
