Welcome everyone to this short tutorial on how to reveal 3D objects under a light in Unity. We will be getting an effect like this in which this cube is only revealed under a specific light
The Shader is based on Unity's Standard Shader. It cannot only change colors but has a texture property also in which you can assign your specific texture of the 3D model you are using. It has a tiling property too. It also has parameters for adjusting the Smoothness and Metallic values of the material too. This shader does not work with URP projects.
Find the attached scripts Below.
https://drive.google.com/file/d/1hQohvtITBvA5EhlpOLl01NORe_ng7CtT/view?usp=sharing
Do comment for any questions.
Download
0 formats
No download links available.
How to reveal Objects Under Light In Unity 3D | NatokHD