Bug #198
Tex Alpha ignored when model rendered using subtract blend
Description
There seems to be a problem with rendering textures
that have alpha data when using the subtract blending
mode on models, the alpha information appears to be
ignored.
Interestingly if using the revsubtract blending mode the
alpha works correctly.
Labels: Graphics
History
#1 Updated by skyjake almost 20 years ago
Logged In: YES
user_id=717323
That's odd. 1.8.5 will have a submodel-specific "Blending mode"
value. I've added the mode "bm_sub2", which multiplies the alpha
differently, perhaps that'll work better.
All the bm-flags will be defined in Flags.ded.
#2 Updated by danij almost 20 years ago
Logged In: YES
user_id=849456
Cheers, I'll let you know if the new mode solves the issue.
#3 Updated by danij almost 20 years ago
Logged In: YES
user_id=849456
Unfortunetly the new sub2 blending mode doesn't fix the problem.
Download the Invisibility Sphere from the jDRP 1.1 Alpha to
see the problem:
The red background sphere is supposed to subtract blend the
dest colour with the src and fade out to the src colour as
the alpha decreases. This is not possible with any blending
mode currently.
#4 Updated by danij almost 20 years ago
Logged In: YES
user_id=849456
Correction: I meant fade out to dest colour as src alpha
decreases.