Tagged Questions
2
votes
1answer
143 views
How to transform a shadow map to camera view?
I'm making a rendering engine as a hobby to learn more about 3D. I have a deferred renderer with the G-buffer (color, normal and depth). I also have a lighting controller that uses only spotlights at ...
1
vote
1answer
208 views
samplerCubeShadow and texture offset
I use sampler2DShadow when accessing a single shadow map. I create PCF in this way:
result += textureProjOffset(ShadowSampler, ShadowCoord, ivec2(-1,-1));
result += textureProjOffset(ShadowSampler, ...
3
votes
1answer
574 views
First-Time GLSL Shadow Mapping Problems [closed]
I'm working on building out a 2.5D engine and having massive problems getting my shadows working. I'm at a point where I'm VERY close.
So, let's see a picture to see what I have:
As you can see ...
6
votes
2answers
2k views
First time shadow mapping problems
I have implemented basic shadow mapping for the first time in OpenGL using shaders and I'm facing some problems. Below you can see an example of my rendered scene:
The process of the shadow mapping ...