Material LerpAlpha working correctly?
by Jaimi McEntire · in Torque 3D Professional · 06/13/2009 (7:16 pm) · 0 replies
Is LerpAlpha working correctly?
In the Warrior Camp, Currently, the pinebranch material has alphablending set to "none". I expected that modifying this to "LerpAlpha" would give a smoother blend (at the cost of possible artifacts against the sky). However, if the blend op is set to LerpAlpha instead of None, the branches become partially transparent, as if there is an alpha component on the vertexes.
Is this a problem with the model? Or is this a problem in the new material system? Or some sort of byproduct of something else? Or am I mis-remembering LerpAlpha (which I assume to be a linear interpolation of the vertex alpha multiplied by the pixel alpha?)
In the Warrior Camp, Currently, the pinebranch material has alphablending set to "none". I expected that modifying this to "LerpAlpha" would give a smoother blend (at the cost of possible artifacts against the sky). However, if the blend op is set to LerpAlpha instead of None, the branches become partially transparent, as if there is an alpha component on the vertexes.
Is this a problem with the model? Or is this a problem in the new material system? Or some sort of byproduct of something else? Or am I mis-remembering LerpAlpha (which I assume to be a linear interpolation of the vertex alpha multiplied by the pixel alpha?)