Game Development Community

ColorMultiply Removed in 1.1?

by J.C. Smith · in Torque 3D Professional · 11/20/2009 (6:37 am) · 2 replies

I noticed while porting a project to 1.1 today that it appears that the ColorMultiply feature has been removed. It's probably something that would be simple to put back in but before I did I figured I'd ask if there was any particular reason it was removed, or anything I sohuld watch out for in doing so.

#1
11/20/2009 (7:01 pm)
The issue was we had two different color features and neither was working correctly.

The "ColorMultiply" feature was actually doing a lerp between the diffuse texture color and the color multiply color... so it was not doing a color multiply at all.

The "Diffuse" feature was replacing the color... so it only worked if you had no texture.

So i combined them... the DiffuseFeatureHLSL does a real color multiply. If you have no texture assigned this feature will color the shape... if you have textures it will multiply.
#2
11/20/2009 (11:05 pm)
Thanks a bunch for the response Tom.