LWJGL Forum

Programming => OpenGL => Topic started by: ojman101 on October 25, 2014, 14:03:18

Title: Shadow Casting?
Post by: ojman101 on October 25, 2014, 14:03:18
Hello, I've managed to implement basic shader lighting in my LWJGL game.
However, I can't figure out how to implement shadows.
Does anyone have any ideas?
Title: Re: Shadow Casting?
Post by: quew8 on October 26, 2014, 13:32:43
An example tutorial: http://www.opengl-tutorial.org/intermediate-tutorials/tutorial-16-shadow-mapping/#Basic_shadowmap (http://www.opengl-tutorial.org/intermediate-tutorials/tutorial-16-shadow-mapping/#Basic_shadowmap)
I warn you though it isn't simple.
Title: Re: Shadow Casting?
Post by: ojman101 on October 26, 2014, 20:43:15
Ok thanks, I'll have a look at it now. :)