mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 11:43:49 +00:00
slim ambient down to vec3, default to premul for translucency
This commit is contained in:
parent
0e0088cab9
commit
de6ee93159
5 changed files with 7 additions and 7 deletions
|
|
@ -536,7 +536,7 @@ bool Material::onAdd()
|
|||
if (mTranslucentBlendOp >= NumBlendTypes || mTranslucentBlendOp < 0)
|
||||
{
|
||||
Con::errorf("Invalid blend op in material: %s", getName());
|
||||
mTranslucentBlendOp = LerpAlpha;
|
||||
mTranslucentBlendOp = PreMul;
|
||||
}
|
||||
|
||||
SimSet* matSet = MATMGR->getMaterialSet();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue