Jump to content
This is not recommended for shared computers
Sign in anonymously
Don't add me to the active users list
We're offering banner ads on our site from just $5!
1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.
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