Jesse-V / iVoxely

Voxel-based game in C++11 and OpenGL
8 stars 0 forks source link

Implement soft shadows #10

Open Jesse-V opened 11 years ago

Jesse-V commented 11 years ago

We should have the ability to create soft shadows. A shadow map may not be necessary, as I think there are ways to cheat around this. https://github.com/Jesse-V/iVoxely/wiki/Lighting-and-Shadows has some ideas.

Jesse-V commented 11 years ago

GLSL samplers: samplerCube - for cube map textures sampler1DShadow - for shadow maps sampler2DShadow - for shadow maps