Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (AndrewAMD, dr_panther, degenerate_762, Ayumi), 790 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Shadows on Models? #267693
05/25/09 22:50
05/25/09 22:50
Joined: Feb 2005
Posts: 1,785
Jesusland
Towelie Offline OP
Serious User
Towelie  Offline OP
Serious User

Joined: Feb 2005
Posts: 1,785
Jesusland
I just upgraded from a6 com to a7 com, yay. With that, I want to start using shaders and other stuff to make my game look "cool," so to speak. I've figured out shaders already, rather easy. Pre-made shaders, at least. Now, I'm trying to figure out how I can cast shadows, as well as have shadows, with my models. So far, I've been using static lights, wheras in the manual it says that the static lights are now also dynamic lights

("Static lights are placed in the level with WED; dynamic light can be emitted by entities at run time, or (with version A7) also by static light sources. -Gamestudio Manual)

Am I reading this wrong, because when I place a static light near a model that has a bump mapping, it neither places a shadow on other models, blocks, or even on itself. Is there more to it than just placing the lights there, and that SHAMWOW? Do I need a plugin such as the Sphere engine? My video card can handle it- I run all HL2 and Sourcemods at top specs just fine as well as oblivion and such. Any help is greatly appreciated.


Jimmy died, today, he blew his brains out into the bay, in the state of mind, its my own private suicide. A stitch in time saves nine... what the hell does that mean?!?
Re: Shadows on Models? [Re: Towelie] #267697
05/25/09 23:12
05/25/09 23:12
Joined: Feb 2008
Posts: 3,232
Australia
EvilSOB Offline
Expert
EvilSOB  Offline
Expert

Joined: Feb 2008
Posts: 3,232
Australia
Not sure, but I think you need to set the DYNAMIC flag on for the light in WED.

Select the light in WED, look at its properties, and you'll see two tick-boxes,
DYNAMIC and HI-RES. Ive never tried high-res ever though...


"There is no fate but what WE make." - CEO Cyberdyne Systems Corp.
A8.30.5 Commercial
Re: Shadows on Models? [Re: EvilSOB] #267723
05/26/09 02:06
05/26/09 02:06
Joined: Feb 2005
Posts: 1,785
Jesusland
Towelie Offline OP
Serious User
Towelie  Offline OP
Serious User

Joined: Feb 2005
Posts: 1,785
Jesusland
Just tried that. the DYNAMIC box is set, as well as the CAST on the model. Still nothing.


Jimmy died, today, he blew his brains out into the bay, in the state of mind, its my own private suicide. A stitch in time saves nine... what the hell does that mean?!?
Re: Shadows on Models? [Re: Towelie] #267730
05/26/09 02:22
05/26/09 02:22
Joined: Apr 2009
Posts: 298
Southern Oceans
KiwiBoy Offline
Member
KiwiBoy  Offline
Member

Joined: Apr 2009
Posts: 298
Southern Oceans
Some shaders disable dynamic lights in order for the shader to work.
Could thid be a possibility here?

It happened for me with a model detail map script and it wasnt till I made another level and forgot to include or add the detail script that I got shadows back.


Use the 'manual' Luke, the manual is your friend. 'Self reminder' smile

My WebPage
Re: Shadows on Models? [Re: KiwiBoy] #267735
05/26/09 02:42
05/26/09 02:42
Joined: Feb 2005
Posts: 1,785
Jesusland
Towelie Offline OP
Serious User
Towelie  Offline OP
Serious User

Joined: Feb 2005
Posts: 1,785
Jesusland
So taking the shader off the model can make the shadow work?

Ill give it a try. If so, how would I get them both to work?

EDIT: Just gave it a try, still nothing.

Last edited by Towelie; 05/26/09 02:45.

Jimmy died, today, he blew his brains out into the bay, in the state of mind, its my own private suicide. A stitch in time saves nine... what the hell does that mean?!?
Re: Shadows on Models? [Re: Towelie] #267736
05/26/09 02:44
05/26/09 02:44
Joined: Feb 2008
Posts: 3,232
Australia
EvilSOB Offline
Expert
EvilSOB  Offline
Expert

Joined: Feb 2008
Posts: 3,232
Australia
Youll need different shader that does what you need
AND that DOES support recieving dynamic shadows as well.
I dont even know how to look for that.....


"There is no fate but what WE make." - CEO Cyberdyne Systems Corp.
A8.30.5 Commercial

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1