Beherith, How does we maek trees wave?

Beherith, How does we maek trees wave?

Discuss maps & map creation - from concept to execution to the ever elusive release.

Moderator: Moderators

Post Reply
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Beherith, How does we maek trees wave?

Post by Forboding Angel »

You showed off some sort of shader a while back that would make trees more or less blow in the wind. Hao duz I?
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: Beherith, How does we maek trees wave?

Post by Beherith »

Well, that was an ugly hack. Because back then shaders could only be attached to units, so the tree was a unit.

jK knows best now if features can feasibly been drawn through lua, and have a shader attached.

After that, its just a matter of jiggling the vertexes of the trees in the shader (you can use the bump map shader as a simple base).

So attaching a shader is the hard part, making it move is easy (at least thats what it seems like to me). If you get a shader attached, ill gladly jiggle them trees.
Post Reply

Return to “Map Creation”