Page 1 of 1

[Gadget Request] Unit Team Colorer

Posted: 17 Oct 2007, 07:11
by Forboding Angel
This conversation was made about the xray widget and how to improve it. I removed my side, cause it's full of dimwitted questions.
[11:59:23 PM] <trepan> would need a gadget

[11:59:42 PM] <trepan> or ... and here's my funny thing ... you could do it without lua at all

[11:59:59 PM] <trepan> you could rewrite the base Spring unit shaders to include it

[12:00:34 AM] <trepan> (and those are in GL 'assembly' shader language, not even GLSL :)

[12:02:07 AM] <trepan> and have you converted it to a gadget?

[12:03:24 AM] <trepan> a general unit_team_colorer.lua gadget might be useful to other folks

[12:03:42 AM] <trepan> provide some options in it as to how to render the color, and provide non-shader backups
SO here it is, would anyone be willing to make this gadget for me? 1000 cookies and 144 virgins(hell that's more than "Allah" gives you) await you at the finish line. :P

Posted: 17 Oct 2007, 14:02
by AF
Sadly I don't think many people will actually see what you're asking for and just get confused. A paragraph stating exactly what you want and why would help enourmously.

Do you just want a gadget version of the xray shader widget?

Posted: 17 Oct 2007, 14:57
by Forboding Angel
AF wrote:Sadly I don't think many people will actually see what you're asking for and just get confused. A paragraph stating exactly what you want and why would help enourmously.

Do you just want a gadget version of the xray shader widget?
yes, but the xray widget can be improved, to have (assuming I understand correctly, a negligable performance hit.

Posted: 17 Oct 2007, 16:20
by rattle
X-ray shader + 8 bit mask where and at what strenght it is to be applied + alpha cycling => almost CNC3 aliens.

I'd also like an overlay shader which simply draws team color on top of textures by using yet another 8 bit mask and ignores shading. Much like glow, just without glow because glow turns bright colors into almost white.

Shader programming still gives me a headache though.

+23 virgins on my part.