Game Development Community

Trying to change splash particles but always too bright

by Joey Skinner · in Torque Game Engine · 07/24/2008 (2:34 pm) · 2 replies

I want more of a "muddy water" splash rather than the bright white splash that comes in the demo. Here are the steps I went through:

- I changed the splash.png to the color I want.
- I changed all datablock definitions (splash, foam, splashmist, bubble) to use the new splash.png file.
- At this point, things are still way too bright. My mud splashing looks like fire stream from a flamethrower.
- I try changing the "color[0-2] = "..." fields of the datablocks to be darker and more brown but nothing seems to work.

Does anyone have suggestions?

#1
07/27/2008 (3:28 pm)
How "saturated" is the color you are making the splash.png? You may want to tone it WAY down and see if that helps. It might look bad in photoshop or gimp or whatnot, but it might be just what you need in the engine.
#2
07/27/2008 (7:19 pm)
Particles by default use an additive blending method in which the particle color value is added to that already in the color buffer. You can request instead to use a "normal" alpha blending method by setting "useInvAlpha = true" in your ParticleData datablock. The result should be more akin to the default blending of layers in Photoshop, which is probably what you're looking for.