Engine icon indicating copy to clipboard operation
Engine copied to clipboard

Enhancement: Displacement blends using $vertexalpha should be affected by $blendmodulatetexture.

Open November-N opened this issue 8 months ago • 0 comments

What would this enhancement be for?

Rendering

Describe your enhancement suggestion in more detail

$vertexalpha 1 is a handy parameter or WorldVertexTransition which allows the user to blend between a texture and transparency; this is very useful for some type of "decals" and such.

The problem is that by default this does a linear blend without any modulation (which looks terrible), adding a blendmodulate would make it much more useful but has no effect with the current way that the shader works, i believe that this should be rectified.

example of blendmodulate used; notice how it grants a much more interesting border than a simple lerp

Image

example of the exact same material with vertex alpha, notice how the border is completely smooth

Image

map and material used for testing

vertexalpha_test.zip

November-N avatar Apr 19 '25 20:04 November-N