GLSL use for Spring objects

GLSL use for Spring objects

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

Moderator: Moderators

Post Reply
gajop
Moderator
Posts: 3051
Joined: 05 Aug 2009, 20:42

GLSL use for Spring objects

Post by gajop »

Is there any way to use GLSL to modify how certain Spring objects get drawn?
I mostly want to know about using shaders for:
- map
- unit*
- feature*
- projectile

* I've seen behe's magical forest thingy, so I assume units (his trees were actually units, not features) can be affected by GLSL.

I guess units and features drawing can be affected within DrawUnit/DrawFeature?
User avatar
knorke
Posts: 7971
Joined: 22 Feb 2006, 01:02

Re: GLSL use for Spring objects

Post by knorke »

drawing units in different scales, by PicassoCT & zwzsg:
http://springrts.com/phpbb/viewtopic.php?f=23&t=29934
User avatar
PicassoCT
Journeywar Developer & Mapper
Posts: 10454
Joined: 24 Jan 2006, 21:12

Re: GLSL use for Spring objects

Post by PicassoCT »

wrong name order, actually should be praise all alone for zwzsg. He really got it to work.
Kloot
Spring Developer
Posts: 1867
Joined: 08 Oct 2006, 16:58

Re: GLSL use for Spring objects

Post by Kloot »

map
no
unit*
yes
feature*
no
projectile
no
I guess units and features drawing can be affected within DrawUnit/DrawFeature?
yes/yes
Post Reply

Return to “Lua Scripts”