• Advertisement

mafian89

Member
  • Content count

    1
  • Joined

  • Last visited

Community Reputation

154 Neutral

About mafian89

  • Rank
    Newbie
  1. 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;   instead of       uniform sampler2D ShadowMap;  
  • Advertisement