Bug #515

Player shadow z-fighting with decals

Added by keMoN almost 5 years ago. Updated about 1 year ago.

Status:New% Done:

0%

Priority:Normal
Assignee:-
Category:-
Target version:2.77
OS: Arch:

Description

I couldn’t find the shader for the player shadow (sprites/shadow_foot and sprites/shadow/torso), but I suppose it’s using polygonoffset like decals do.
Anyways, I encountered that the player shadows flickers when standing on top of a decal (the effect when two textures are overlaying each other).
An exception are the tracks in fueldump and their shader uses sort decal in the shader (sort parameter )
Decal isn’t one of those options, but obviously exists. This parameter varies the height on which textures/shaders are drawn, so that should be the desired parameter.

I would’ve tested some options of 'sort’ myself, but I couldn’t find the shader for the shadows.

History

#1 Updated by keMoN almost 5 years ago

The shaders for shadow_foot and shadow_torso are located in _unsorted.shader
I tested several options of the 'sort’-parm, but nothing worked properly.

#2 Updated by Saukko almost 5 years ago

  • Subject changed from player shadow flickers on decals to Player shadow flickers on decals
  • Target version set to 2.77

#3 Updated by thunder over 1 year ago

  • Related to Task #1029: renderer2: Mirror all R1 shaders in R2 added

#4 Updated by keMoN about 1 year ago

  • Subject changed from Player shadow flickers on decals to Player shadow z-fighting with decals

#5 Updated by IR4T4 4 months ago

  • Related to deleted (Task #1029: renderer2: Mirror all R1 shaders in R2)

Also available in: Atom PDF