I want to use spot light in the scene to achieve its effect in my own shader.
A simple playground demo will be helpful.
1 Like
This is not that easy as you need to account for everything a spotlight would do from your own shader. It is like asking I want the full PBR or standard in my own shader which therefore would require the full implementation
That said, you could either use custom materials to extend standard/pbr materials.
Or I would recommend to use our Node Material Editor which contains light nodes to fit with your scene.
2 Likes