Page 1 of 1
dual color and custom logo
Posted: 27 Jul 2016, 10:04
by daryl
Hi all, so,
Does Spring support dual color on units ?
And does Spring support custom logo on units?
thx!
Re: dual color and custom logo
Posted: 27 Jul 2016, 16:01
by smoth
Short answer No.
Re: dual color and custom logo
Posted: 27 Jul 2016, 16:04
by hokomoko
Why not?
You can use your own custom shaders to do whatever you want re colors
and putting a logo on a unit can be done similar to commander nametags probably
https://github.com/ZeroK-RTS/Zero-K/blo ... metags.lua
Re: dual color and custom logo
Posted: 27 Jul 2016, 17:06
by daryl
this evening I will see the lua code...
probably i will ask you something again...
thankyou!
Re: dual color and custom logo
Posted: 27 Jul 2016, 19:37
by smoth
we still only have partial shader support.
I deleted my post I don't want to get banned.
Re: dual color and custom logo
Posted: 27 Jul 2016, 20:26
by hokomoko
smoth wrote:we still only have partial shader support.
I deleted my post I don't want to get banned.
????
Re: dual color and custom logo
Posted: 27 Jul 2016, 21:18
by smoth
There was a lot of rage and cursing.
Re: dual color and custom logo
Posted: 27 Jul 2016, 21:36
by hokomoko
What shader support are you missing in particular?
Re: dual color and custom logo
Posted: 28 Jul 2016, 01:52
by smoth
last I foole with this a dev was working on explosions shattered pieces and exploded pieces(apparently due to models losing their id BEFORE Killed() was done), I believe kloot was fixing this. We still have no way to do shaders during construction(ask jk), I have a kludge for that.
that wasn't what the cursing was about.
Re: dual color and custom logo
Posted: 28 Jul 2016, 02:13
by gajop
smoth wrote:last I foole with this a dev was working on explosions shattered pieces and exploded pieces(apparently due to models losing their id BEFORE Killed() was done), I believe kloot was fixing this.
I thought those two were unrelated:
1) exploding objects into pieces vs exploding them into polygons
2) allowing shaders to work after units were killed but before they've been cleared (RenderUnitDestroyed), which is
https://github.com/gajop/Custom-Unit-Sh ... 02b51aa4b8
Dunno about the rest.
Re: dual color and custom logo
Posted: 28 Jul 2016, 02:51
by FLOZi
Re: dual color and custom logo
Posted: 28 Jul 2016, 04:55
by smoth
That is good stuff. I will have to try it later. Thanks