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.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/sdl/GL_notes.txt b/sdl/GL_notes.txt
index ac51035..2c77ed9 100644
--- a/sdl/GL_notes.txt
+++ b/sdl/GL_notes.txt
@@ -35,6 +35,15 @@ Buffers
- Front Buffer
- Back Buffer
+Lighting
+- when lighting is enabled, we need to specify normals for each polygon face so
+ OpenGL can calculate e.g. how light reflects
+
+Fake Shadow
+- drawing a shadow for the pyramid would require drawing things twice, so on 2nd
+ pass we would draw with black color and multiply by squished matrix, we should
+ get to this later with better approach
+
Terms
- Dithering: simulate displaying wider range of colors on on systems with small
amount of colors