Post-render effects - Page 2

Post-render effects

Requests for features in the spring code.

Moderator: Moderators

User avatar
Caydr
Omnidouche
Posts: 7179
Joined: 16 Oct 2004, 19:40

Post by Caydr »

The trees are neither collapsing nor bursting into flames at any point in the explosion. Although this would be technically possible, the fact is that a ground flash is larger than the actual explosion, so this problem will always be present even if it could be limited to the outer edge or something.
User avatar
mehere101
Posts: 293
Joined: 15 Mar 2006, 02:38

Post by mehere101 »

While I agree that we aren't going to get top of the line effects, I think that we could easily do some basic things. One thing I'm wondering about is Bump mapping. Right now I'm thinking of putting in a bit of work and adding in bump mapping. The one thing I need to know before hand is wether there are any open texture channels.
User avatar
Caydr
Omnidouche
Posts: 7179
Joined: 16 Oct 2004, 19:40

Post by Caydr »

You'd want to talk to JC about that, he's already done some work in that direction I think.
User avatar
mehere101
Posts: 293
Joined: 15 Mar 2006, 02:38

Post by mehere101 »

OK. The one problem I'm having right now is in the shader file formats. Where are the specifications for the shaders? I can't find much more than the fact that shaders are assembly shaders run through open gl
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

I think the groundflash could theoretically be handled by spawning a VERY bright light in the location of the blast instead.
User avatar
Maelstrom
Posts: 1950
Joined: 23 Jul 2005, 14:52

Post by Maelstrom »

Unfortunately that would need dynamic lighting, which Spring does not have.
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

I don't think that'd be hard to add. You just need to spawn a lightsource on any explosion brighter than a certain value. The 8 lightsources limit might be a bit difficult but you could deal with that by having each unit use only the four or so closest light sources
User avatar
Peet
Malcontent
Posts: 4384
Joined: 27 Feb 2006, 22:04

Post by Peet »

An opaque expanding sphere inside the explosion would do just fine...
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

No, that'd look silly when your camera angle is flatter.
User avatar
mehere101
Posts: 293
Joined: 15 Mar 2006, 02:38

Post by mehere101 »

Just fake it dammit!

A simple vertex light-type script from a given light location that adjusts the colours on the trees would work. If I understand how tree are rendered that is...
Post Reply

Return to “Feature Requests”