Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Models and Media / Wizard Staff - with animated Shader

Author
Message
bond1
19
Years of Service
User Offline
Joined: 27th Oct 2005
Location:
Posted: 2nd Nov 2008 09:40 Edited at: 2nd Nov 2008 09:53
Here's my latest, and you really have to see it in action to believe it.

A wizard's staff with an animated glow shader. Watch it fade in and out, really awesome in dark areas! Not only that, but this shader is also controlled by a true specular texture. And....I incorporated simulated global illumination. What this means is the the portion of the model pointing towards the ground will always be in shadow, no matter which way you look, which you can clearly see in the video clip as I crank the ambient light all the way up. That's fantastic, and really makes the model much more dynamic as you look around. Of course the animated glow is the thing you will notice first off...especially in dark areas.

Video clip here: http://www.vimeo.com/2130830
Download high-def video here: http://www.hyrumark.com/wizardstaff.zip

Some pics:






----------------------------------------
"bond1 - You see this name, you think dirty."
rakker126
16
Years of Service
User Offline
Joined: 12th Sep 2008
Location:
Posted: 2nd Nov 2008 10:23
Nice!

IV
Crav3
16
Years of Service
User Offline
Joined: 14th Oct 2008
Location: Down Under
Posted: 2nd Nov 2008 10:45 Edited at: 2nd Nov 2008 10:45
Great work bond.I reckon the orb could look better. But that shader is MINT!
Dr Parsnips
17
Years of Service
User Offline
Joined: 14th Jul 2007
Location: London
Posted: 2nd Nov 2008 11:45
Astonishing as usual bond1, will you just stop being awesome! your making us look bad lol!

HMMMMMMM
Accoun
19
Years of Service
User Offline
Joined: 9th Jan 2006
Location: The other end of the galaxy...
Posted: 2nd Nov 2008 12:22
Very nice!

Make games, not war.

Errant AI
18
Years of Service
User Offline
Joined: 24th Aug 2006
Location:
Posted: 2nd Nov 2008 15:33
That's some shader 133tness, right there! The glow effect is brilliant
CoffeeGrunt
17
Years of Service
User Offline
Joined: 5th Oct 2007
Location: England
Posted: 2nd Nov 2008 15:38
The shaders are awesome...I think that the sound effect sounds a bit too....1980's Doctor Who, if you get what I mean...

Then again, maybe Oblivion has clouded my judegement....

The Master Dinasty
16
Years of Service
User Offline
Joined: 14th Sep 2008
Location: Valhalla
Posted: 2nd Nov 2008 16:02
The model is nice....

Beacause massa is the master!
Aaagreen
17
Years of Service
User Offline
Joined: 4th Sep 2007
Location: City 17
Posted: 2nd Nov 2008 16:44
The zap.. is that part of the model or what?

SamHH
18
Years of Service
User Offline
Joined: 9th Dec 2006
Location: Vermont
Posted: 2nd Nov 2008 16:47
Very Nice! I sent you another email, did you get it?


bond1
19
Years of Service
User Offline
Joined: 27th Oct 2005
Location:
Posted: 2nd Nov 2008 16:50 Edited at: 2nd Nov 2008 18:18
Thanks! I'm really proud of this shader. The glow effect is controlled by the alpha channel in the specular texture. This value is animated with a sin function, clamped to the 0-1 range, which will fade the alpha value over time. Right now, the only thing in the alpha channel is the orb, but I could paint in a low value gradient for the arms and staff, and it would look like the orb is illuminating them as well as it fades in and out - that would be REALLY cool!

If you have at least a shader model 3 capable card, and I think most people do now, you can run this effect. Plus this shader is specifically for skinned meshes, unlike the weapon shaders in FPSC X9. Most weapons being made now are using skinned models I think. For a more generic shader for future models I will use the specular alpha to control specular tightness/glossiness. The days of me painting in lighting manually into the diffuse texture are over!

Quote: "I think that the sound effect sounds a bit too....1980's Doctor Who, if you get what I mean...
"


Hehe yeah maybe a bit too 50's scifi, but I'm not much of a sound engineer, I scrolled through some synth presets on my keyboard until I got a decent looping sound.

----------------------------------------
"bond1 - You see this name, you think dirty."
Leaning Objects To The Side
18
Years of Service
User Offline
Joined: 3rd Jan 2007
Location:
Posted: 2nd Nov 2008 21:47
haha..oh yeah bond1 this is a must have weapon...omg I will buy for sure...keep up the good work.

Cheers,
Tanya.

bond1
19
Years of Service
User Offline
Joined: 27th Oct 2005
Location:
Posted: 3rd Nov 2008 02:45 Edited at: 3rd Nov 2008 02:46
Thanks Tanya! It's really worth it to download the high-def version of the video, you can really see the beauty of the shader - every nook and cranny of the gnarled wood, and you can even see the courseness of the leather gloves as the light hits at glancing angles.

The beam that shoots from the staff is part of the model.

The weapon will also include a "magic jar" entity, used to replenish the magic level of the staff:



----------------------------------------
"bond1 - You see this name, you think dirty."
Leaning Objects To The Side
18
Years of Service
User Offline
Joined: 3rd Jan 2007
Location:
Posted: 3rd Nov 2008 03:45
bond1 OMG OMG...I would like to buy this right now if i can..bond1 this is way to cool..Awesome work as always! keep up the good work.

Cheers,
Tanya.

Punk13
17
Years of Service
User Offline
Joined: 7th Oct 2007
Location: In EpikLand!
Posted: 3rd Nov 2008 04:00
New small update to the arms i see bond?


RAMPAGE STOLE MY CHEEZ-ITS!
Cheese Cake
18
Years of Service
User Offline
Joined: 11th Dec 2006
Location: At the bakery
Posted: 3rd Nov 2008 10:46
Very nice man! Isnt it possible to make the lightbeam very bright?
With maybe some sparks? That way it would make it look very "magical".

SamHH
18
Years of Service
User Offline
Joined: 9th Dec 2006
Location: Vermont
Posted: 3rd Nov 2008 19:43 Edited at: 3rd Nov 2008 19:43
Just watched the video, the thumb seems a little odd, should it not be wrapping around the staff instead of curling down? Still no reply on my email.


Strelok
18
Years of Service
User Offline
Joined: 16th Oct 2006
Location: In your cupboard.
Posted: 3rd Nov 2008 20:02
Very nice Bond , the shader is amazing , maybe you could add a flare to the orb ?
just a barely visible one. see attached file.

Rise and shine Fpsc x10...rise and shine.

Attachments

Login to view attachments
tjaabee
18
Years of Service
User Offline
Joined: 14th Apr 2007
Location: somewhere
Posted: 3rd Nov 2008 20:46
ZOMG. Are you really sure this isn't fake? (Just joking. )
Awesome work as always!

Best.

Yor mod has been erased by a signature. (Oops... something is wrong)
Leon Kennedy
16
Years of Service
User Offline
Joined: 7th Sep 2008
Location: Neither here nor there
Posted: 3rd Nov 2008 20:59
@bond1: You are a genius. Fantastic work, as always. Will you quit making new weapons that I HAVE to purchase so I can actually finish my game please?

Seriously - when will this be available for purchase?
Leaning Objects To The Side
18
Years of Service
User Offline
Joined: 3rd Jan 2007
Location:
Posted: 3rd Nov 2008 22:18
Quote: "Seriously - when will this be available for purchase?"




yeah i would like to know this as well bond1.... i can't wait..

Cheers,
Tanya.

heltor
17
Years of Service
User Offline
Joined: 3rd Oct 2007
Location: cyberspace
Posted: 3rd Nov 2008 23:18
Truly a work of gaming art.

My computer beat me at chess, but I sure beat it at kickboxing.
bond1
19
Years of Service
User Offline
Joined: 27th Oct 2005
Location:
Posted: 3rd Nov 2008 23:55 Edited at: 4th Nov 2008 00:04
It's been uploaded to the store, so it should be approved by morning. I also have a demon sceptre that I'll be finishing tonight - you'll REALLY like this one too!

The halo effect is a pretty tough effect to pull off, it requires multiple shader passes so it's an expensive effect as well. But I am working on a shader that is a good fake of this effect, it fades the glow effect from the outer edges of an object to the inside, and only requires a single rendering pass. The trick will be getting it to only effect the orb, and not the rest of the model. I'll try and incorporate it into the demon sceptre if I can.

----------------------------------------
"bond1 - You see this name, you think dirty."
Leaning Objects To The Side
18
Years of Service
User Offline
Joined: 3rd Jan 2007
Location:
Posted: 4th Nov 2008 00:30
haha..Oh yeah..bond1 i will be the first in line to buy this weapon....i will be camping out like i did when the XBOX 360 first came out..haha..bond1 keep up the good work.


Cheers,
Tanya.

Haven Studios
16
Years of Service
User Offline
Joined: 17th Jun 2008
Location: My Empire of a Utopia
Posted: 4th Nov 2008 01:01
Very nice, but not to be mean why do you only include one arm to me that looks very odd you should have the second arm up also

Toasty Fresh
18
Years of Service
User Offline
Joined: 10th Jun 2007
Location: In my office, making poly-eating models.
Posted: 4th Nov 2008 07:22
You are improving, Bond. Your animations are getting smoother and realistic. Nice work.

-Toasty

bond1
19
Years of Service
User Offline
Joined: 27th Oct 2005
Location:
Posted: 4th Nov 2008 07:25 Edited at: 4th Nov 2008 07:50
Quote: "not to be mean why do you only include one arm to me that looks very odd you should have the second arm up also"


Sure, let me get right on that for you....here you go, just for you.

[mod edit]Rules are rules, no swearing allowed.[/mod edit]

----------------------------------------
"bond1 - You see this name, you think dirty."
Punk13
17
Years of Service
User Offline
Joined: 7th Oct 2007
Location: In EpikLand!
Posted: 4th Nov 2008 07:29
LOL! HAHAHA! I would so buy a copy of that version right there!
Nice one Bro


Xtinction Coming Soon.
Toasty Fresh
18
Years of Service
User Offline
Joined: 10th Jun 2007
Location: In my office, making poly-eating models.
Posted: 4th Nov 2008 11:03
Wow, bond got modded? That's something you don't see every day.

Nickydude
Retired Moderator
18
Years of Service
User Offline
Joined: 4th Nov 2006
Location: Look outside...
Posted: 4th Nov 2008 16:58
Quote: "Wow, bond got modded? That's something you don't see every day."


Rules are rules, whether you're "UltRaN00b01!!!!" or Lord Lee Bamber himself.

bond1
19
Years of Service
User Offline
Joined: 27th Oct 2005
Location:
Posted: 4th Nov 2008 17:01 Edited at: 4th Nov 2008 17:01
I didn't drop the F-bomb or anything like that, just a pic with some good natured ribbing.

But rules are rules, and sorry to the mods for having to edit my post.

----------------------------------------
"bond1 - You see this name, you think dirty."
Nickydude
Retired Moderator
18
Years of Service
User Offline
Joined: 4th Nov 2006
Location: Look outside...
Posted: 4th Nov 2008 17:08
I must admit I laughed when I saw it (it should be the answer to all the requests you get lol!).

Errant AI
18
Years of Service
User Offline
Joined: 24th Aug 2006
Location:
Posted: 4th Nov 2008 20:19
Think I got first quasi-purchase* ! Just had to see that shader first hand. Opened the .fx file and all I can say is, "Bond1, you sir, are a madman."

One minor issue (you can see in the video too, btw) is when getting ready to shoot (during start fire) you can see the beam mesh sticking out a ways. The fuzziness around the beam seems to stay dark but only really noticeable against light color background.


* Points left over from beta... still 3750 left
bond1
19
Years of Service
User Offline
Joined: 27th Oct 2005
Location:
Posted: 4th Nov 2008 20:49
Argh! Amazing how you can watch something a hundred times and not notice until someone points it out. Still, it's not too noticeable, and I've seen worse in retail games. I've been playing Dark Messiah, and on some weapons the entire thumb clips through your weapon during the idle animation!

The beam is probably my least favorite part of the model, but I'm working on more of these "magic staff" style weapons, and I hope to improve that part of it.

I've notated the shader pretty thoroughly, for my own sanity as well. You don't want to mess with the vertex shader portion, as that basically performs fast GPU skinning, and the pixel shader is where the magic happens - for a more generic version, I'll remove the animated glow in favor of basic self-illumination (good for lights on a weapon, like a lighted scope!). And probably a specular "tightness" control in the alpha channel of the normal map, this is a useful value to have control over, rather than a fixed value.

----------------------------------------
"bond1 - You see this name, you think dirty."
some kid
17
Years of Service
User Offline
Joined: 28th Nov 2007
Location: in UR room, stealin\' UR stuff
Posted: 4th Nov 2008 21:27
okay, bond? this is going to sound really wierd, but I had a dream about this. and I'm not joking. but in addition to the staff, you also included this OTHER spell where you could do this "force push/grab" thing. and you got the spell by getting this gem-incrusted skull. ....do you think you could somthing like that in the near futere?

in the name of epic video games, I post this
http://www.youtube.com/watch?v=BhZQEvg1V0Y
heltor
17
Years of Service
User Offline
Joined: 3rd Oct 2007
Location: cyberspace
Posted: 9th Nov 2008 01:19
Nice work bond1, you never stop making me try to making models, Simply Brilliant Work. Thank You

My computer beat me at chess, but I sure beat it at kickboxing.
bond1
19
Years of Service
User Offline
Joined: 27th Oct 2005
Location:
Posted: 9th Nov 2008 07:25
Thanks Heltor, the shader is really the star of this one, the synergy between the shader and the normal/diffuse/speculat textures is just awesome, the way the light interacts with the model from different angles is really cool.

I have a 1920x1200 monitor, and I'll build a game then set the setup.ini to match this resolution, and the detail just jumps off the screen.

I have a new model in this series of "magic staff" weapons, I'll try and have a video up sometime tomorrow, and in the store by monday.

----------------------------------------
"bond1 - You see this name, you think dirty."
Toasty Fresh
18
Years of Service
User Offline
Joined: 10th Jun 2007
Location: In my office, making poly-eating models.
Posted: 9th Nov 2008 07:35
CoffeeGrunt
17
Years of Service
User Offline
Joined: 5th Oct 2007
Location: England
Posted: 9th Nov 2008 11:34
I was wondering whether the shader would be available on it's own for sale. It would be extremely valuable, but sadly I'm not really a fantasy game creator....

Errant AI
18
Years of Service
User Offline
Joined: 24th Aug 2006
Location:
Posted: 9th Nov 2008 11:39 Edited at: 9th Nov 2008 11:44
CG , The shader alone is worth the 300 points, IMO. Just purchase the staff. You can use the .fx file for whatever HUD weapon you want (don't know if it'll work on other things) and tweak it if needed.
CoffeeGrunt
17
Years of Service
User Offline
Joined: 5th Oct 2007
Location: England
Posted: 9th Nov 2008 12:11
Okidoki, once my Paypal transaction goes through, I'm getting this puppy......

bond1
19
Years of Service
User Offline
Joined: 27th Oct 2005
Location:
Posted: 9th Nov 2008 12:56 Edited at: 9th Nov 2008 13:00
This shader variant is for guns only, that use skinned meshes - it may or may not give the same results if you try it on other types of models.

FPSC uses a very particular texture naming scheme for guns. It took me two freaking days to figure out why my specular map wouldn't show up, only when I dug into the source code did I find that guns use the "_R" suffix for that texture, for whatever reason, rather than the "_S" suffix that everything else uses. *Shakes fist at Lee*

Anyway, the shader is VERY clearly spelled out so you can see what's going on, and apply it to your own models. I don't think I'll release the shader on it's own for the time being, only because it took me quite a while and a lot of hair pulling to properly learn the skill. But expect a lot more cool shaders from me on future models for some really cool effects.

----------------------------------------
"bond1 - You see this name, you think dirty."
CoffeeGrunt
17
Years of Service
User Offline
Joined: 5th Oct 2007
Location: England
Posted: 9th Nov 2008 13:45
Awesome. Something that I would buy in a heartbeat is a good bump map shader, and I'm sure tonnes of other people would buy it too....

SamHH
18
Years of Service
User Offline
Joined: 9th Dec 2006
Location: Vermont
Posted: 9th Nov 2008 16:03
Quote: "This shader variant is for guns only, that use skinned meshes - it may or may not give the same results if you try it on other types of models.

FPSC uses a very particular texture naming scheme for guns. It took me two freaking days to figure out why my specular map wouldn't show up, only when I dug into the source code did I find that guns use the "_R" suffix for that texture, for whatever reason, rather than the "_S" suffix that everything else uses. *Shakes fist at Lee*

Anyway, the shader is VERY clearly spelled out so you can see what's going on, and apply it to your own models. I don't think I'll release the shader on it's own for the time being, only because it took me quite a while and a lot of hair pulling to properly learn the skill. But expect a lot more cool shaders from me on future models for some really cool effects."

I think you should do a shader tutorial Bond......Please?


Deathead
18
Years of Service
User Offline
Joined: 14th Oct 2006
Location:
Posted: 9th Nov 2008 16:17
Looks good bond.


"Your greatest teacher is your harshest critic"-Butterfingers
Cosmic Prophet
17
Years of Service
User Offline
Joined: 17th Mar 2008
Location: The Cosmos
Posted: 15th Nov 2008 00:08
Nice! Good job,as always.

In the Universe, nothing ever stays the same.
Conjured Entertainment
AGK Developer
19
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 16th Nov 2008 01:20
Nice job Bond!
Awesome as usual, thanks!


@Deathead
lol
You got your ears lowered while I was away.


Don't forget to visit Conjured Entertainment

petsall
17
Years of Service
User Offline
Joined: 25th Apr 2008
Location: Finland
Posted: 16th Nov 2008 17:35
HOW ANY1 CAN HAVE ENOUGH MONEY TO BOUGHT 3DSM,PHOTOSHOP AND MUDBOX

Kids kids stop playing with these molotov“s coctails an buy a real flametrhower
Aaagreen
17
Years of Service
User Offline
Joined: 4th Sep 2007
Location: City 17
Posted: 16th Nov 2008 17:41
A professional modeller...

petsall
17
Years of Service
User Offline
Joined: 25th Apr 2008
Location: Finland
Posted: 16th Nov 2008 17:51
aah,,, noe I understand

Kids kids stop playing with these molotov“s coctails an buy a real flametrhower

Login to post a reply

Server time is: 2025-06-13 10:39:21
Your offset time is: 2025-06-13 10:39:21