| bio | website | |
|---|---|---|
| location | ||
| age | ||
| visits | member for | 9 months |
| seen | Sep 27 '12 at 18:09 | |
| stats | profile views | 3 |
|
Sep 27 |
comment |
First-Time GLSL Shadow Mapping Problems For me, I actually dropped work on the project, but I felt that I was really close and just needed to flip the end image -- which a colleague of mine in Germany said happens occasionally (and needs to be done in Direct X). I would output your shadow map and depth map and ensure everything is correct -- and if so, start trying to figure out if you need to adjust your coordinates. |
|
Aug 30 |
comment |
First-Time GLSL Shadow Mapping Problems It looks like the actual ShadowMap is flipped -- the shadows are not actually on the dark side of the mountains. They're on the "light" side of the mountains, so it seems like I need to flip its axis to get the correct result. Apparently this is common in Direct X implementations. Regardless, thanks for your help! Hopefully that will fix it. HOPEFULLY. /crosses fingers |
|
Aug 25 |
comment |
First-Time GLSL Shadow Mapping Problems Well, the ShadowMap is actually a DepthMap, when sending in -- so it is that depth. Even if that is the case, if you look at the shadow, it's on the wrong side -- it should be on the opposite side of where the light is at. While I'd love to be able to just do a 1 - s and 1 - t to flip it, it's only a workaround -- not an actual fix. There has to be something else wrong, but thank you for your comment so far! |
|
Aug 24 |
awarded | Student |
|
Aug 24 |
asked | First-Time GLSL Shadow Mapping Problems |