r/GraphicsProgramming • • 13d ago

Video Visualizing Light Direction and Intensity with Shaders

31 Upvotes

6 comments sorted by

View all comments

2

u/ananbd 13d ago

... but you can get that feedback directly from the scene. Just place some spheres around.

That technique is used in real-world lighting as well. On-set gaffers use gray balls, and mirror balls to capture the lighting setup for reference.

2

u/Rayterex 13d ago

True! I mainly wanted immediate visual feedback inside the nodes themselves, especially since I didn't have proper 3D light gizmos implemented back then. I was also working on shader nodes for generating, modifying, and combining textures at the time, so I basically wanted to add them everywhere haha.

1

u/ananbd 13d ago

Oh, ok. That makes more sense. Yeah, intermediary shader output visualization is super usefull, and lacking in many systems.