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 Product Chat / Need help with a shader!!

Author
Message
Stalker93
17
Years of Service
User Offline
Joined: 1st Sep 2008
Location: Italy
Posted: 24th Feb 2012 16:54
Hi everyone!
Is it there a way to get the perpixellighting.fx shader from Dark Shader working in FPSC?? I just got black entities with it...What I want is a "self-shadow" shader for dynamic entities (so that the dynamic entities will be lit just on the side illuminated). There already a shader that's doing this?
Thx
Bestorio
16
Years of Service
User Offline
Joined: 24th Oct 2009
Location:
Posted: 24th Feb 2012 23:18
Hi!
Is this what you mean? (attached)

Stalker93
17
Years of Service
User Offline
Joined: 1st Sep 2008
Location: Italy
Posted: 25th Feb 2012 00:21
Yes something like that..That's some kind of bumpbone shader?..well, above all I need to apply it to a dynamic entity, not to a character. Do you know which shader could I use? Or is yours working also on non-character dynamic entities? Thx
Bestorio
16
Years of Service
User Offline
Joined: 24th Oct 2009
Location:
Posted: 25th Feb 2012 00:29
hold on... checking... unfotunately no.
BUT! here's another shader:

Stalker93
17
Years of Service
User Offline
Joined: 1st Sep 2008
Location: Italy
Posted: 25th Feb 2012 08:45
Yeah that's pretty good! It just need to be tweaked a bit, so that the lit side will be more bright, then it will be perfect! which shader is? Thx for the help Bestorio!
Bestorio
16
Years of Service
User Offline
Joined: 24th Oct 2009
Location:
Posted: 25th Feb 2012 10:02 Edited at: 25th Feb 2012 10:13
OOPS! it's the same shader as the character
Sorry i got confused because i had two boxes in the level.

The reason for the lit side not to be bright is that it's missing the S texture.

The shader that i use doesn't have a name, but i have a shader with the same effect that's called "phong_bump_specular.fx"

EDIT:

the same effect with a more complex model (attached)

Login to post a reply

Server time is: 2026-07-01 22:13:21
Your offset time is: 2026-07-01 22:13:21