Creating shadows

Oct 24, 2015 at 3:45 PM
Can someone give me a example with creating shadows (i'm trying create cube and make shadow for that, but have no idea how to do it). I tried some tricks with Shadow class, but nothing helped. Please, dont answear like "google it!", I tried =\
Oct 28, 2015 at 4:15 PM
Hi! Here is an excellent example how to create shadows using the OpenGL stencil buffer. Hope that helps!

NeHe Shadows with stencil buffer in OpenGL
Oct 28, 2015 at 5:33 PM
robinsedlaczek wrote:
Hi! Here is an excellent example how to create shadows using the OpenGL stencil buffer. Hope that helps!

NeHe Shadows with stencil buffer in OpenGL
thx, I saw that example, but it is based on C++, I'd like to see sharpGL at work