Makes the fab/combat fab spray neon green. Also adds neon green accent to building animations. That is all. Comments welcome :3
Only the fab spray. If I knew which shader was responsible for the nanoframe I would probably alter it a little bit too.
pre_light_pa_unit_fab is the shader responsible for the color of the structures being built, you can see the bot factory in porgess in dom's picture, that's the one. I have no idea what the others are but they're in F# so i can't tell very quickly. But the combat fabbers don't use shaders, there's a .pfx file in effects/specs called fab_combat_spray which can be modded. A quick fix to make the combat spray "suck inwards" instead of outwards would be to set the velocity flag to a negative value. EDIT: Also the emitter needs to be offset because then the spray would just go through the model
It does indeed. Noice! I might play around with it, I still want the overall color to be teamcolored, but a bit more glowy green accents wouldn't hurt . I would rather not invert the fabber spray, since the idea of sending nanites to reclaim a tree is good enough for me .
That looks good, I'm assuming you either have ML knowledge or f# knowledge (or both)? I'd love to see how you did that :3
So I learnt a bit more GLSL, from the source of course, and I think I ended up with something cool . Let me know what you think!
Still the same shader, just showing the commander building it so that you may observe the animation at higher speed.