9
votes
Accepted
Handling Projective Aliasing In Shadow Mapping
Shadow mapping with acceptable quality is quite a journey. So you implemented first step - basic shadow map that encompass whole scene statically. This means that shadow map texel size in light view ...
5
votes
Why is OpenGL recompiling my depth map vertex shader based on the GL state?
This is an example of implementation details leaking through the abstraction. Parts of the GL state are often implemented via native GPU ISA instructions that the driver injects into user-defined ...
4
votes
Accepted
How does ray tracing handle the calculation of reflections and shadows in the presence of multiple translucent objects?
First off, I think the question is a bit vague. I'm not exactly sure what you really want so this answer is just based on my understanding of your question.
Raytracing handles reflections and shadows ...
3
votes
Accepted
Artifacts in omni light shadow mapping
I finally found the cause of the problem. There appears to be a problem with the shadow map of both the omni light and spotlight. While debugging, I noticed by accident that the light-view-to-light-...
3
votes
In forward rendering what's the go to technique to smooth out rigid shadow due to low resolution shadowmap texture?
Ah, shadows. They still are bothering after so many people spent years trying to improve them.
Whether your engine is deferred or forward, the shadow pass should be quite the same, and suffer the same ...
3
votes
Accepted
In forward rendering what's the go to technique to smooth out rigid shadow due to low resolution shadowmap texture?
Percentage Closer Filtering with some amount of blur (ie. a minimum filter size in texture space) is the most basic method I know of. For example, see GPU Gems. My experience is that it is also quite ...
2
votes
In forward rendering what's the go to technique to smooth out rigid shadow due to low resolution shadowmap texture?
One technique is adaptive shadow maps where you use a low resolution map for shadows that are rendered far away from the camera, a mid-resolution map for stuff that's in the mid range, and a high ...
2
votes
Accepted
Reducing Cascaded Shadow Mapping Artifacts
Getting high quality shadows from Cascade Shadow maps with (relatively) low resolution shadow maps is a process. I recommend taking on different aspects one at a time.
Here are few generic suggestions....
2
votes
Accepted
How to use shadow mapping and deferred rendering to create a large amount of lights?
Deferred rendering does not have an asymptic complexity of O(lights+fragments). It has a complexity of O(fragments+visibleFragments*lights).
What you are doing in deferred rendering is preventing ...
1
vote
Accepted
Why don't high-res shadow maps produce aliasing artifacts due to minification?
Turns out minification aliasing is a real problem, just as with regular (color) textures. Following are a couple of papers demonstrating the artifacts and presenting solutions (basically low-pass ...
1
vote
Accepted
Why doesn't using depth biasing to fix shadow acne result in an even bigger problem?
The book "RAY TRACING GEMS (1)" from Nvidia has a whole chapter about avoiding self-intersection. I highly recommend this book because they show different methods about all parts of problems ...
1
vote
Accepted
Cascaded Shadow Mapping (CSM), Partitioning the Frustum to a nearly 1 by 1 mapping
The logarithmic shadow mapping split scheme produces split points that minimize aliasing. There is a short derivation that can be used to show that it produces the split points that reduce aliasing to ...
1
vote
Accepted
ShadowMap peter-panning and wrong direction
I found out that simply removing minus sign in shader in converting coords to [0, 1] solved direction problem. But scale is still off - here is an example:
...
1
vote
Accepted
R16_FLOAT, SampleCmp and CheckFormatSupport
Because I was using the CheckFormatSupport wrong. The second parameter is supposed to be an input.
Here is what it should be like.
...
1
vote
Accepted
What does "region to be shaded" mean in the PCF paper?
Texture mapping is the process of providing a mapping from the surface to a location on the texture. That is, given a particular point on a surface, you can find a specific point in a texture that ...
1
vote
Accepted
DX9 Shadow map PCF issue
It seems that sampler2D_float doesn't allow to interpolate shadow lookup linearly. So I had to do it by hand. Here's an example of interpolated shadowing.
...
1
vote
What is this shadow mapping error called?
It's not entirely clear what the scene in your picture is supposed to look like, so I'm not sure I'm interpreting it correctly. But if I am, it seems like the problem is that you're projecting the ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
shadow-mapping × 35shadow × 15
opengl × 10
shader × 5
glsl × 4
texture × 3
shading × 3
raytracing × 2
c++ × 2
projections × 2
webgl × 2
hlsl × 2
directx11 × 2
unity × 2
depth-map × 2
direct3d × 2
rendering × 1
3d × 1
transformations × 1
algorithm × 1
lighting × 1
matrix × 1
antialiasing × 1
reflection × 1
filtering × 1