Game Development Community

SetBlendingAlpha not doing anything...

by Nic Cusworth · in Torque Game Builder · 12/31/2006 (12:15 pm) · 1 replies

Trying to set an object semi-transparent using setBlending but it's not doing anything. Here's what I'm writing:

$testChar.setblending(true);
%junk = $testChar.getBlendingStatus();
echo(%junk);
$testChar.setBlendAlpha(100);

%junk displays a '1' so it's being turned on. Is it a graphics card problem? I HOPE NOT!!!

Nic.

#1
12/31/2006 (12:23 pm)
Got it... it's 0.0 -> 1.0 value for the blend.

Nic.