Questions tagged [shadows]
Dark spaces cast by the presence of a solid object blocking the flow of light. Often helpful for telling where your character is going to land.
243 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
1
answer
75
views
Can we avoid PCF shadow blur in area where it is full shadow or no shadow
I cast shadows in either opened or closed environment for a directional light whose lookat position follows the player position. So the shadowmap is refreshed regularly so that I cannot store a fixed ...
0
votes
1
answer
35
views
Difficulties with matrices settings for cascaded shadows
I have added cascaded shadows to my pipeline. The whole process seems to works fine as shown in the picture. But I should obtain a progressive "zoom" from the first cascade (red) to the last (blue) ...
0
votes
0
answers
43
views
Unknown light source in viewport when camera projection is orthogonal
I'm using Godot/Redot for my game development but so far this happens when camera projection is orthogonal, there's unknown light following the viewport when the camera is moving.
Here's the example
...
0
votes
0
answers
63
views
What is the best lighting & shadow setup for mininal draw calls and triangles?
I have been testing out various lighting and shadow settings in Unity since during play mode the stats are showing a much higher set pass call and triangle count to what I know my model has. I have ...
1
vote
0
answers
195
views
Terrain detail grass not receiving shadow
The grass painted onto my terrain is in the shadow area of the house wall, but they're not receiving shadows. Why does this happen?
1
vote
1
answer
353
views
How does planar shadow projection interact with perspective projection?
This question is about planar shadows as explained in Frank Luna's DX11 book. The author presents the 4x4 shadow matrix, whose bottom right element is n\$\cdot\$L (where n is the plane's normal and L ...
1
vote
0
answers
107
views
How to transform correctly shadow cascades?
I think I got the main idea of shadow cascades but I have misunderstanding of transforming shadow cascades using matrices for getting correct a result. I understand it this so
Define shadow cascade ...
0
votes
1
answer
119
views
Issues with implementing shadow mapping produces weird results
This is my first attempt in implementing shadow mapping. I am using right hand coordinate system and my projection matrices are producing z values from 0 to 1.
I've decided first to use orthogonal ...
3
votes
0
answers
106
views
Smooth self shadow on dense foliage
I don't know how to achieve or research smooth lighting on foliage, like in this screenshot of theHunter: Call of the Wild.
The grass is translucent, but blocks light smoothly when it's tall and ...
2
votes
1
answer
435
views
Making Unity shadows work at a small scale
I'm trying to cast shadows from a small (3cm) sphere onto a table surface.
If I place a large object, I get shadows as expected, but below a certain size, I get nothing.
I appreciate that under ...
0
votes
1
answer
610
views
How can I remove dither effect on player's shadow?
I am trying to make a dithering effect on the player so that when the camera comes below or very close to the player he will be dotted or transparent like in Genshin Impact. So, I followed a tutorial ...
0
votes
0
answers
312
views
How to stop light from seeping through meshes?
I'm trying to make a giant minecraft world but light keeps seeping through everything, as every block is paper-thin. Is there a way to increase its thickness?
Notice the edges of the meshes. Light is ...
0
votes
0
answers
259
views
Gaps in shadows even with zero bias set Unity
I have a problem with gaps in shadows in Unity. I know that there are many questions about that, but all of the answers are usually about setting bias property to 0. But this didn't help me. I use ...
0
votes
0
answers
262
views
Per pixel shadows with depth / displacement map
I am looking to draw 2D sprites that cast artificial 3D shadows onto a flat terrain using an additional depth-texture when rendering the sprites. A black/white depth texture is used to
add a height-...
0
votes
0
answers
199
views
What's the solution to this kind of shadow acne?
I'm working with a OpenGL ES/GLSL homebrew engine my company developed, in C++. Below is a screenshot of it rendering shadow acne. The light's direction is too perpendicular to the face of the curve ...