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 / Really cool dynamic shadow effect usng bond1's animated shader.

Author
Message
rolfy
20
Years of Service
User Offline
Joined: 23rd Jun 2006
Location:
Posted: 12th Sep 2010 00:05 Edited at: 12th Sep 2010 00:19
Took a little time out to look at bond's animated shader and came up with this.



Animated the scene and rendered the shadows and compiled these into a sprite for use with the shader.
All I really need for this is a simple atlas walk shader, I tried to create my own but there are artefact issues caused by timer when used in FPSC and I simply dont have the savvy to fix it so had to go with bond's. It really doesn't need the illumination or the diffuse with mask he uses and I did my best to lower the contrast and illumination settings,it got there to an extent but I cant seem to get the contrast down enough, so you can see there is a difference in the walls appearance.

Still its a nice effect and you get the idea.
To complete it all would be to create a sprite for the shadows on the fan blade which would animate as the blades rotated, I dont see any reason it wouldn't work, just dont have much time to do it right now.

VIDEO:
http://www.youtube.com/watch?v=-hlckJgLCOI

Please excuse the choppy animation on the fan blades its down to crappy laptop and screen capture, it all plays smoothly in-game.
DarkJames
16
Years of Service
User Offline
Joined: 11th Aug 2009
Location:
Posted: 12th Sep 2010 00:08
so how can you acomplish this?

awesome screenie too rolfy?

also, how is Eldora II?

Zwarte Piet
16
Years of Service
User Offline
Joined: 25th Dec 2009
Location:
Posted: 12th Sep 2010 00:11
I hope I get as good at stuff as you rolfy. That looks really Good.

"I would rather make a bad model, instead of pirate a great one" MY DAD "Now let's Make some Models"
rolfy
20
Years of Service
User Offline
Joined: 23rd Jun 2006
Location:
Posted: 12th Sep 2010 00:12 Edited at: 12th Sep 2010 00:19
Video posted.
Eldora II is on indefinite hold for now just dont have the time to work on it these days.
mgarand
18
Years of Service
User Offline
Joined: 22nd Dec 2007
Location: The Netherlands
Posted: 12th Sep 2010 00:21
nice job Rolfy, i remember that scene from a picture or something



Creativity is inventing, experimenting, growing, taking risks, breaking rules, making mistakes, and having fun.
CoffeeGrunt
18
Years of Service
User Offline
Joined: 5th Oct 2007
Location: England
Posted: 12th Sep 2010 00:56
His planar shader should achieve this more easily now...

Your signature has been erased by a mod please reduce it to 600 x 120.
DarkJames
16
Years of Service
User Offline
Joined: 11th Aug 2009
Location:
Posted: 12th Sep 2010 01:10
But the fact that he got this working and it looks great, is the thing that counts

i love how Rolfy envelops and developes things, i would love to have his skills at all of FPSC..

rolfy
20
Years of Service
User Offline
Joined: 23rd Jun 2006
Location:
Posted: 12th Sep 2010 01:16 Edited at: 12th Sep 2010 01:18
Quote: "His planar shader should achieve this more easily now..."

Not too sure...his planar shadow as I understand it projects onto floor only.
Actually most of the work in this is done in renderer and probably not feasible for most folks, but simply put if it was merely an animation shader and did not use all the other frills such as illumination etc, the performance hit is pretty low.
I have no idea if his new planar shader will work in this way, although the method I used above is simply on a wall I could easily have those dynamic shadows on all objects in the scene. So for me this kind of shader works best for environments where the player has a little more time to notice these things.
DarkJames
16
Years of Service
User Offline
Joined: 11th Aug 2009
Location:
Posted: 12th Sep 2010 01:28
also, if you work hard, is possible with Decals right?

rolfy
20
Years of Service
User Offline
Joined: 23rd Jun 2006
Location:
Posted: 12th Sep 2010 01:37 Edited at: 12th Sep 2010 01:53
Decals are limited to 16 frames of animation and with the angles required for a complex scene its just not too convincing (you couldnt use decals on a curved surface), The above anim uses 64 frames for the sprite (altough the actual fan blades model uses 128, I could get away with half the frames for shadow as its a symmetrical object, in fact could probably have used 32 frames).
The animated shadows are actually part of the texture for this, Imagine a projected shadow onto bars or rails for instance they would all be perfect, on the bars and also on the floor behind remember this is animated not static.
Its not even calculated in real time.
As a point of reference there is NO lightmapping in the scene above all textures are baked.
Nbt
16
Years of Service
User Offline
Joined: 11th Oct 2009
Location: Behind you!!
Posted: 12th Sep 2010 03:52
A very clever use there rolfy, nice one mate

s4real
VIP Member
19
Years of Service
User Offline
Joined: 22nd Jul 2006
Location:
Posted: 12th Sep 2010 04:53
Very nice effect there rolfy, just awesome work as always.

Best s4real



Pack ya games with vishnu fpsc packer its free.
Flatlander
FPSC Tool Maker
19
Years of Service
User Offline
Joined: 22nd Jan 2007
Location: The Flatlands
Posted: 12th Sep 2010 06:33
Awesome. Amazing what can be done when one can do there own textures (and whatever baked means :LOL: ) and sprite animations. Just beautiful.

I reject your reality and substitute my own!

Add more adventure to your game -- use RPG Mod
Nbt
16
Years of Service
User Offline
Joined: 11th Oct 2009
Location: Behind you!!
Posted: 12th Sep 2010 12:10
Quote: "(and whatever baked means :LOL: )"


That's like setting up lights etc to cast shadows onto a model, then baking the resulting shadows/highlights onto the models own UV Map (it's texture)

Like making an Ambient Occlusion map (shadows/highlights) from a high poly version of a model (via MudBox etc) and then bake those onto the texture of a low poly version. this would then give the low poly model an appearance of being high poly.

rolfy
20
Years of Service
User Offline
Joined: 23rd Jun 2006
Location:
Posted: 12th Sep 2010 12:15 Edited at: 12th Sep 2010 12:21
Absolutely correct Nbt, I created a series of baked textures (as long as the model uses a properly uvw mapped single texture, it can be as complex a shape as you like) then rendered the sequence and used the baked textures to create the sprite.
This can be done for every model in a scene to create very dynamic looking environments, though as in all game development careful design and using only in noticable areas, it could have its uses without a huge performance hit.
AbdulAhad
16
Years of Service
User Offline
Joined: 1st Feb 2010
Location: Karachi, Pakistan
Posted: 12th Sep 2010 12:37
Nice!! The man himself must be impressed!

Off-Topic:
Do you still have that night vision hud that you used in a video on your channel?

Abdul Ahad
Wraith Staff
19
Years of Service
User Offline
Joined: 3rd Apr 2007
Location: Hamilton, OH
Posted: 12th Sep 2010 16:56
My Youtube subscriptions alerted me tho this... my mind is officially blown I'm going to have to try this myself soon

Red Eye
17
Years of Service
User Offline
Joined: 15th Oct 2008
Location:
Posted: 12th Sep 2010 21:13
Nice job.

DarkFrost
17
Years of Service
User Offline
Joined: 3rd May 2009
Location: ON, Canada
Posted: 13th Sep 2010 00:14
LOVE ...the level design
LOVE ...the style and colour palette
LOVE ...the custom media
LOVE ...the shader effect
LOVE ...EVERYTHING!

[img][/img]
bond1
20
Years of Service
User Offline
Joined: 27th Oct 2005
Location:
Posted: 13th Sep 2010 17:25 Edited at: 13th Sep 2010 17:26
Excellent use of the shader, just the kind of thing I love seeing. Adds so much richness visually. If you're having trouble wrangling your needs out of the original shader, hit me up with an email if you need something more specific.

Great job!

----------------------------------------
"bond1 - You see this name, you think dirty."
CoffeeGrunt
18
Years of Service
User Offline
Joined: 5th Oct 2007
Location: England
Posted: 13th Sep 2010 20:11
The only thing is that the shadow looks mistimed with the object. It almost looks like it's playing backwards...

A great job nevertheless.

Your signature has been erased by a mod please reduce it to 600 x 120.
rolfy
20
Years of Service
User Offline
Joined: 23rd Jun 2006
Location:
Posted: 13th Sep 2010 20:37
Quote: "The only thing is that the shadow looks mistimed with the object."


Quote: "Please excuse the choppy animation on the fan blades its down to crappy laptop and screen capture, it all plays smoothly in-game."


Yeah, its mostly this comp and the lag from screen capture messing with the fan blades animation as I said in the first post, believe me it really does look fine in-game.
CoffeeGrunt
18
Years of Service
User Offline
Joined: 5th Oct 2007
Location: England
Posted: 13th Sep 2010 21:30
Ahh okay, It seems like a nice workaround. Shame things like this weren't around when I used FPSC.

A broad mind lacks focus.
Nomad Soul
Moderator
19
Years of Service
User Offline
Joined: 9th Jan 2007
Location: United Kingdom
Posted: 1st Oct 2010 19:16
I was just reading this months TGC newsletter and found a piece about the work Rolfy has been doing on this and it appears he's made a lot of progress since the ceiling fan effect.

Now he has a swinging ceiling light giving the effect of shadows being cast over the entire scene and it looks great. I've attached a small video to show this.

You can download the demo here.
http://newsfiles.thegamecreators.com/issue93/shadowroom.zip

Hopefully Rolfy will be able to shed a little more light on creating dramatic shadow effects like this.

Zwarte Piet
16
Years of Service
User Offline
Joined: 25th Dec 2009
Location:
Posted: 1st Oct 2010 22:27 Edited at: 1st Oct 2010 22:30
Rolfy have you made or thought of making a skybox tutorial. What software do you use? Don't tell if it is a trade secret. Thank You Sorry wrong thread. all your stuff is so cool. I typed on the wrong one.

"I would rather make a bad model, instead of pirate a great one" MY DAD "Now let's Make some Models"
King Of Khaos
17
Years of Service
User Offline
Joined: 25th Feb 2009
Location: Not ALL the windows were locked...
Posted: 1st Oct 2010 23:04 Edited at: 1st Oct 2010 23:07
That's SWEET rolfy! Honestly, in both the screenshot and the video it looks as good and detailed as a rotating ceiling fan from Silent Hill 3 or 4!

Cheers, Jake
------------------------------------------------------------
-Beneath- (WIP)
DarkJames
16
Years of Service
User Offline
Joined: 11th Aug 2009
Location:
Posted: 3rd Oct 2010 01:14
Quote: "Silent Hill 3 or 4!"


Ting!


awesome!

DarkFrost
17
Years of Service
User Offline
Joined: 3rd May 2009
Location: ON, Canada
Posted: 3rd Oct 2010 02:44
Played the demo, I love it!

[img][/img]

Login to post a reply

Server time is: 2026-07-07 20:17:43
Your offset time is: 2026-07-07 20:17:43