Jump to content
This is not recommended for shared computers
Sign in anonymously
Don't add me to the active users list
Banner advertising on our site currently available from just $5!
1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!
Posted by mafian89
on 18 April 2013 - 04:12 PM
Well, when you want to use
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_COMPARE_MODE, GL_COMPARE_TO_REF);
Your texture sampler should be
uniform sampler2DShadow ShadowMap;
uniform sampler2D ShadowMap;
GameDev.net™, the GameDev.net logo, and GDNet™ are trademarks of GameDev.net, LLC