Tagged Questions
0
votes
1answer
197 views
Calculating distance from viewer to object in a shader
Good morning,
I'm working through creating the spherical billboards technique outlined in this paper. I'm trying to create a shader that calculates the distance from the camera to all objects in the ...
4
votes
2answers
399 views
Reflections based on distance from plane
Let's consider, for example, a surface like the volleyball court, we can see that legs and shoes of the players are reflected, with a blur effect, but body and stadium don't (as each object not near ...