summaryrefslogtreecommitdiffstats
path: root/sdl/GL_notes.txt
diff options
context:
space:
mode:
Diffstat (limited to 'sdl/GL_notes.txt')
-rw-r--r--sdl/GL_notes.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/sdl/GL_notes.txt b/sdl/GL_notes.txt
index f012068..29e2942 100644
--- a/sdl/GL_notes.txt
+++ b/sdl/GL_notes.txt
@@ -59,8 +59,8 @@ Pipeline
Shadowmap
- getting the depth buffer from lights point of view of the scene, we don't swap
we only care about raw geometry
- we regenerate the shadow map if the light or boject moves, or window size changes
+ we regenerate the shadow map if the light or object moves, or window size changes
first we draw the scene with dim lighting, then we double the the values of lighting
- one depth buffer is written to the backbuffer, we retrieve that into a texture, then
+ once depth buffer is written to the backbuffer, we retrieve that into a texture, then
lots of magic is done to project the texture/shadow map back into the final scene