View Issue Details

IDProjectCategoryView StatusLast Update
0005868The Dark ModGraphicspublic04.01.2022 03:41
Reporterstgatilov Assigned To 
PrioritynormalSeverityfeatureReproducibilityalways
Status newResolutionopen 
Product VersionTDM 2.10 
Target VersionTDM 2.11 
Summary0005868: Interactions rendering with polygonOffset
DescriptionRight now interactions rendering never enables polygonOffset.
Usually polygonOffset is applied to patch-surfaces which are exactly on a solid surface (mappers call such patches "decals").
However, if such surface has complicated material (for instance, has specularmap), then polygonOffset does not fix depth fighting.

A major example of this issue is stain01bwet material, which is used in Stain Lucia map.
It was used long time ago because its specular map did not work.
And when it started working, depth fighting happened.
Steps To Reproduce1) Uncomment "specularmap textures/decals/stain01b_s.tga" in tdm_decals_legacy.mtr.
2) Run Saint Lucia and go to the statue.
3) Observe depth fighting on the floor as you move or rotate camera.

Note: most likely you should NOT commit the updated stain01bwet material even after this is fixed.
Leaving _black specular map results in proper appearance --- the one which was in TDM 2.00.
Additional InformationInternal discussion:
  https://forums.thedarkmod.com/index.php?/topic/21231-stain01bwet-interactions-and-polygonoffset/
TagsNo tags attached.

Relationships

related to 0005325 resolvedstgatilov New error reported about texture stain01b_s 
related to 0005867 new Try to support interactions on projected decals 

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
04.01.2022 03:30 stgatilov New Issue
04.01.2022 03:30 stgatilov Relationship added related to 0005325
04.01.2022 03:30 stgatilov Relationship added related to 0005867
04.01.2022 03:41 stgatilov Steps to Reproduce Updated