View Issue Details

IDProjectCategoryView StatusLast Update
0004512The Dark ModGraphicspublic19.09.2017 03:58
Reporterduzenko Assigned Tonbohr1more  
PrioritynormalSeveritynormalReproducibilityhave not tried
Status resolvedResolutionno change required 
Product VersionSVN 
Target VersionTDM 2.06Fixed in VersionTDM 2.06 
Summary0004512: Vegetation LOD needs testing
Description@duzenko has made changes in code related to alpha blending.
Apparently some of vegetation materials support fading out when further from player.
We need to test if that still works after the recent changes.
TagsNo tags attached.

Relationships

related to 0004511 closedduzenko Bad display of certain foliage 

Activities

nbohr1more

nbohr1more

23.04.2017 17:09

developer   ~0008805

The current fading system uses a modifier against ShaderParm 3

http://wiki.thedarkmod.com/index.php?title=Alpha-fading

http://wiki.thedarkmod.com/index.php?title=List_of_shaderParm_variables

This means that lit materials, use alpha-test (threshold) whereas unlit materials can use regular alpha.

Ideally, both fading types would be overridden by something that does a distance based (percentage) alpha-blend against _currentRender after rendering the model.

In theory, we could modify these grotesquely large materials shaders to accept alpha fading but ideally we wouldn't use that approach:

http://wiki.thedarkmod.com/index.php?title=Making_Semi-transparent_textures
duzenko

duzenko

23.04.2017 17:13

developer   ~0008806

Does any map utilize this approach for me to test?
nbohr1more

nbohr1more

23.04.2017 17:21

developer   ~0008807

I'm fairly certain the Cattails LOD model in the outside forest in Alberic's Curse is using alpha-test with LOD fading.

Less certain, I think the vegetation outside in Builder Roads also uses alpha-test with LOD.
nbohr1more

nbohr1more

19.09.2017 03:57

developer   ~0009295

maps\test\seed_vegetation.map has the alpha fading entities and they still work.

Issue History

Date Modified Username Field Change
23.04.2017 15:14 duzenko New Issue
23.04.2017 15:14 duzenko Relationship added related to 0004511
23.04.2017 17:09 nbohr1more Note Added: 0008805
23.04.2017 17:13 duzenko Note Added: 0008806
23.04.2017 17:19 duzenko Description Updated
23.04.2017 17:21 nbohr1more Note Added: 0008807
19.09.2017 03:57 nbohr1more Note Added: 0009295
19.09.2017 03:58 nbohr1more Assigned To => nbohr1more
19.09.2017 03:58 nbohr1more Status new => resolved
19.09.2017 03:58 nbohr1more Resolution open => no change required
19.09.2017 03:58 nbohr1more Fixed in Version => TDM 2.06