Results 1 to 5 of 5

Thread: Shadow mapping - theory and practice

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Yep it just looks good, i'm surprised how well this combines with alpha transparency, i still have some weird problem that shadows don't work on nvidia cards (works on intel and amd tho) - i'll get that solved at one point too.

    Next step will be to combine this with a lighting system, i will probably need to start using two render targets and combine results, because currently car fake shadows don't combine well with map shadows, and ligting is still nonexistent in the engine
    This is my game project - Top Down City:
    http://www.pascalgamedevelopment.com...y-Topic-Reboot

    My OpenAL audio wrapper with Intelligent Source Manager to use unlimited:
    http://www.pascalgamedevelopment.com...source+manager

  2. #2
    Apparently i used GL_TEXTURE_COMPARE_MODE GL_COMPARE_R_TO_TEXTURE and GL_TEXTURE_COMPARE_FUNCset to GL_LEQUAL and that doesn't work on nvidia no matter what you try, it is not even needed if you use glsl - i'm not sure from what totorial i got that from..
    This is my game project - Top Down City:
    http://www.pascalgamedevelopment.com...y-Topic-Reboot

    My OpenAL audio wrapper with Intelligent Source Manager to use unlimited:
    http://www.pascalgamedevelopment.com...source+manager

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •