Engine
Engine copied to clipboard
Enhancement: Displacement blends using $vertexalpha should be affected by $blendmodulatetexture.
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
example of the exact same material with vertex alpha, notice how the border is completely smooth
map and material used for testing