Questions tagged [shadow]
Shadows cast by objects in front of lights, whether raytraced, shadow maps, shadow volumes, or any other technique
58 questions
1 vote
1 answer
65 views
Intersect an Orthographic Shadow Projection with the Visible View Frustum
I'm working on a basic single-projection (not cascaded) shadow map in OpenGl to understand the basics. I'm converting my world's AABB bounds to light space, calculating the left/right/top/bottom/near/...
0 votes
2 answers
110 views
How can I use shadows to give an isometric scene a sense of depth?
I am working on a game that works from an isometric perspective. Taking inspiration from other games, I know that purely 2D games can have pretty realistic illusions of depth by placing shadows the ...
3 votes
0 answers
98 views
Ray tracing artifacts along facet edges
I have a CPU-ray tracer and have been struggling to deal with artifacts along facet edges near the terminator (I believe this is a fairly common issue). These were the artifacts I was getting ...
0 votes
1 answer
63 views
Why does one matrix correctly project points to the plane, but another one doesn't?
I have a scene with a floating cube and a plane y=0. I want to create a simple planar shadow of the cube on the plane. To do this, I just have to project the vertices of the cube to the plane. I can ...
1 vote
1 answer
240 views
Why doesn't using depth biasing to fix shadow acne result in an even bigger problem?
I am currently reading the Ray Tracing in One Weekend tutorial (link), and I am dubious about their fix for shadow acne, which is to ignore ray-geometry intersections that occur at very small times. ...
3 votes
1 answer
823 views
Hard Shadows with Dielectrics/Transparency
I am writing a raytracer which is meant to support shadows. Previously, I have naively implemented hard shadows by casting a shadow ray towards the light (+ offset) and seeing if it hits anything ...
3 votes
0 answers
139 views
ray racing (Whitted) bad shadow on far objects (artifact)
situation: I've implemented a Whitted style ray tracing in C. Everything appear to works except the shadow cast by small object on big far objects The problem : red sphere have radius 0.5 orange ...
6 votes
0 answers
1k views
How to implement PCSS correctly?
I'm trying to implement PCSS in OpenGL/GLSL, but I have problems understanding the details especially the conversions between the coordinate spaces. The existing implementations are so different from ...