I’m trying to make smoke for a game with GLSL, but I don’t get any way to control the alpha value of the smoke particles. Switch to Texture face mode and you’ll see it works well. In GLSL alpha just won’t change, I also tried using Var in the materials with IPO but it doesn’t work.
Thanks in advance.
I’m sorry but it isn’t working for me. Something like this already happened to me with replace mesh not replacing textures, but it worked on another person’s computer.
You still have to use ObColor. However, you can make a material for it and set the “ob color” in the material. Then you use the Object ColR, ColG, ColB, and ColA values to animate.
In the IPO curve window, add a new IPO (little arrow at the bottom – add new), select which kind of key you want to add (ColR, ColG, ColB, and/or ColA), and hold ctrl while you click where you want to add keys.
More complicatedly, you could do your color/alpha animation in the material as you normally would. Then you can locate the material IPO curves in the IPO window (by changing the drop down meno to “material” rather than “object”). You can then select hte RGB and A values and copy them into the buffer via the arrow button. Then you can make a new object IPO, select ColR, ColG, ColB, and ColA and hit the paste.
To create a curve in the IPO window you can select the channel e.g. ColR at the right list. Than <ctrl>+LMK into the curve window. That creates you a key at the clicked point and a curve through this point. Now you can start adjusting the curve.
This is an alternative way
Sorry, I’m a beginner at this stuff. The whole thing doesn’t work for me except for the .blend file, can you please give me a clear step by step tutorial on how to do this? Thanks in advance
@cuzmanbro animate the alpha value of textures by ticking A and adding keyframe to the alpha value (A) in the textures panel. i dont know maybe a related vid on a link on my sig might help.
For multi tex add keyframe to the ztransparency and for glsl add keyframes to alpha values of textures.
I’m using version 2.49b of blender in GLSL and i did exactly what you said but it still doesn’t work Yes, i think a video tutorial would be very helpful. Thanks.
I would recommend using 2.5 as it’s faster, has gotten game engine improvements, and is easier to work with. Particularly in this area. You would go into the Animation view, highlight the color and press the I key to make a keyframe, do the same for the Alpha slider, move the animation frame (by hand, or by the left or right arrow keys), switch the color and alpha, and then press the I key again to make new keyframes.