xray effect

xray effect

Discuss Lua based Spring scripts (LuaUI widgets, mission scripts, gaia scripts, mod-rules scripts, scripted keybindings, etc...)

Moderator: Moderators

trepan
Former Engine Dev
Posts: 1200
Joined: 17 Nov 2005, 00:52

xray effect

Post by trepan »

Xray shader effect that can be used to enhance the
current cloaking effect, and highlight the team color
on units:

Image

Team hilighting comparision:
http://trepan.bzflag.bz/spring/xon.jpg
http://trepan.bzflag.bz/spring/xoff.jpg
MelTraX
Posts: 470
Joined: 02 Jan 2007, 16:18

Post by MelTraX »

Do you never get tired?

Amazing.. :D
User avatar
Machiosabre
Posts: 1474
Joined: 25 Dec 2005, 22:56

Post by Machiosabre »

ghosts! :shock:
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Post by rattle »

If it continues like this then we can drop teamcolored textures altogether.
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Post by imbaczek »

xray's cool, but team highlight hurts the eyes without antialiasing IMHO.
User avatar
1v0ry_k1ng
Posts: 4656
Joined: 10 Mar 2006, 10:24

Post by 1v0ry_k1ng »

OMG OMG DAS GOOT
User avatar
Relative
Posts: 1371
Joined: 15 Oct 2006, 13:17

Post by Relative »

SHINY!! Shiny is the future!
User avatar
Muzic
Posts: 950
Joined: 09 Aug 2006, 07:08

Post by Muzic »

Awesome :O
User avatar
JimmyJ
Posts: 84
Joined: 21 Dec 2005, 05:52

Post by JimmyJ »

Thats awesome :-)
Warlord Zsinj
Imperial Winter Developer
Posts: 3742
Joined: 24 Aug 2004, 08:59

Post by Warlord Zsinj »

teh sex
User avatar
LOrDo
Posts: 1154
Joined: 27 Feb 2006, 00:21

Post by LOrDo »

Springs graphics just keep getting better and better...
trepan
Former Engine Dev
Posts: 1200
Joined: 17 Nov 2005, 00:52

Post by trepan »

Committed to SVN, should be installed by default in 0.75b2.
I've also committed the team platter widget.

https://springrts.com/svn/spring/trunk/ ... shader.lua
https://springrts.com/svn/spring/trunk/ ... latter.lua
User avatar
Raghna
Posts: 185
Joined: 11 Jul 2007, 17:04

Post by Raghna »

jajz, I like it!
User avatar
Neddie
Community Lead
Posts: 9406
Joined: 10 Apr 2006, 05:05

Post by Neddie »

Oh m- you, sir, are a blessing onto humanity.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

Your team platter widget ahs a bug.

The insides of the circles dissapear as you zoom out. Also the greater your camera angle the sooner they dissapear, so much so that they rarely dissapear at 10 dgrees but at 90 degrees you have to zoom up as close as possible to stand any chance of seeing them.

It would also look prettier if they had thicker surrounding circles, and if building had a square inside their circle it would help building placement too.
User avatar
Dragon45
Posts: 2883
Joined: 16 Aug 2004, 04:36

Post by Dragon45 »

Cool! Another graphical effect i'll never be able to see because of my shitty computer.

Looks good tho.
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Post by rattle »

Dragon45 wrote:Cool! Another graphical effect i'll never be able to see because of my shitty computer.

Looks good tho.
Hahah tell me. 8)
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Post by rattle »

Bump. Have you tried this on some models underwater when reflective + refractive water is turned on?
Warlord Zsinj
Imperial Winter Developer
Posts: 3742
Joined: 24 Aug 2004, 08:59

Post by Warlord Zsinj »

I'd like to see this shader used to render units that are behind buildings, large features, and perhaps fog.
User avatar
chillaaa
Posts: 234
Joined: 16 Mar 2005, 00:12

Post by chillaaa »

Warlord Zsinj wrote:I'd like to see this shader used to render units that are behind buildings, large features, and perhaps fog.
Essentially you want Unit Occlusion as it's called in other games (ie DoW)
Post Reply

Return to “Lua Scripts”