Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
3 registered members (Ayumi, NewbieZorro, TipmyPip), 13,888 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: Shaders hide my models [Re: Kresimir] #97086
11/11/06 01:38
11/11/06 01:38
Joined: Oct 2005
Posts: 4,771
Bay City, MI
lostclimate Offline
Expert
lostclimate  Offline
Expert

Joined: Oct 2005
Posts: 4,771
Bay City, MI
you dont seem to get it, you cant make a shadow mapping shader, thats not what shaders do. you really need to get a little more expirienced before you think your ready to make your own dynamic shadow solution.

Re: Shaders hide my models [Re: lostclimate] #97087
11/11/06 03:12
11/11/06 03:12
Joined: Oct 2003
Posts: 4,131
M
Matt_Aufderheide Offline
Expert
Matt_Aufderheide  Offline
Expert
M

Joined: Oct 2003
Posts: 4,131
Sphere gives you dynamic soft shdadows..


Sphere Engine--the premier A6 graphics plugin.
Re: Shaders hide my models [Re: Matt_Aufderheide] #97088
11/11/06 03:48
11/11/06 03:48
Joined: Feb 2006
Posts: 2,185
mpdeveloper_B Offline
Expert
mpdeveloper_B  Offline
Expert

Joined: Feb 2006
Posts: 2,185
lostclimate, soft shadows are possible with a shader, like matt said sphere does it, it's not impossible, everything is possible, you just need to know how to implement it and have the right hardware to run it, however, at the guy needing help, check the wiki, the link is at the top of the page, if that doesn't help, click matt's sig, from what you say it seems you haven't looked enough, if you can't find anything in the forum, check the link or downloads page, they are accessible at the top of the page, if you still can't find anything, wiki is the place to be, and if you still can't find anything, if you have searched and searched, then post your problem, don't post it as soon as you have an error, try to find a solution first.

edit: i do not mean this post as offesive, i'm trying to help, you need to listen when someone tells you how you can fix it, if i have to post a direct link to what i'm talking about i will....

Last edited by Manslayer101; 11/11/06 03:49.

- aka Manslayer101
Re: Shaders hide my models [Re: mpdeveloper_B] #97089
11/11/06 16:45
11/11/06 16:45
Joined: Oct 2005
Posts: 4,771
Bay City, MI
lostclimate Offline
Expert
lostclimate  Offline
Expert

Joined: Oct 2005
Posts: 4,771
Bay City, MI
ok, i didnt say it the way i meant it, I should say it this way, that's probably not the particularly best way to go about it, better to use sphere, because its already finished, and it seems he thinks shaders are meant for just shadows... i was trying to get the point across to him that there not.

Re: Shaders hide my models [Re: lostclimate] #97090
11/13/06 09:06
11/13/06 09:06
Joined: Oct 2006
Posts: 23
K
Kresimir Offline OP
Newbie
Kresimir  Offline OP
Newbie
K

Joined: Oct 2006
Posts: 23
Quote:

...and it seems he thinks shaders are meant for just shadows...



You're not reading my posts carefully. I said i made 2 shaders which produce some sort of nightvision effect when applied to models. I know shaders are not meant to produce shadows only.

I would like to use anything else that works. I noticed that a model will cast a shadow on a terrain (simple shadow flag turned on) only if i place a block under the terrain. But i cannot get a shadow from one model to appear on another model. Thats what i really need. I know I can turn on stencil shadows, but that brings frame rate down too low.

Re: Shaders hide my models [Re: Kresimir] #97091
11/14/06 00:52
11/14/06 00:52
Joined: Feb 2006
Posts: 2,185
mpdeveloper_B Offline
Expert
mpdeveloper_B  Offline
Expert

Joined: Feb 2006
Posts: 2,185
oooooooooooooohhhhhh, for a second i was wondering, i wish i knew how to fix this problem as well, i also can't get shadows on models


- aka Manslayer101
Re: Shaders hide my models [Re: mpdeveloper_B] #97092
11/14/06 04:04
11/14/06 04:04
Joined: Oct 2005
Posts: 4,771
Bay City, MI
lostclimate Offline
Expert
lostclimate  Offline
Expert

Joined: Oct 2005
Posts: 4,771
Bay City, MI
seems unless you want to learn some extensive directx knowledge that you'll just have you use stencil or nothing because the shadows your talking about are called z-buffer shadows, they dont wrap around edges, they will work on a model if your standing on it, but it will look just like a flat plane protruding from the characters feet, it wont contour to the surface.

Re: Shaders hide my models [Re: lostclimate] #97093
11/14/06 07:55
11/14/06 07:55
Joined: Oct 2006
Posts: 23
K
Kresimir Offline OP
Newbie
Kresimir  Offline OP
Newbie
K

Joined: Oct 2006
Posts: 23
Exactly. I managed to get the shadow to appear as a flat plane (i think it's about changing shadow_mode only), but the "flat plane shadow" thing is just not good enough.

I've tried out Sphere Demo, and i noticed it can cast a shadow from one (static) barrel model onto another. I'll have to try making them move too.

Re: Shaders hide my models [Re: Kresimir] #97094
11/14/06 19:35
11/14/06 19:35
Joined: Sep 2002
Posts: 8,177
Netherlands
PHeMoX Offline
Senior Expert
PHeMoX  Offline
Senior Expert

Joined: Sep 2002
Posts: 8,177
Netherlands
I'm not sure if this would help you, but perhaps you should take a look at one of the shader contributions in one of the AUM magazines. Matt Aufderheide has contributed one of his shaders for soft shadows. It's not perfect, as in it produces some errors and unexpected results on my pc, but the basis is there. Perhaps you can try to improve that shader?

The AUM magazine download, look for Exquisite Contributions

Cheers


PHeMoX, Innervision Software (c) 1995-2008

For more info visit: Innervision Software
Re: Shaders hide my models [Re: PHeMoX] #97095
11/15/06 07:45
11/15/06 07:45
Joined: Oct 2006
Posts: 23
K
Kresimir Offline OP
Newbie
Kresimir  Offline OP
Newbie
K

Joined: Oct 2006
Posts: 23
Thanks for mentioning that. I did try that already. Problem with that shader is that it produces a shadow on a flat "plane". So if i want to cast shadow of one frog onto another, i will not get natural shadows which follow the "curves" of the frog, but a flat plane shadow, which will be in mid-air.

My main problem is that i need to be able to cast "nicely_follow_the_curves" shadows from one model onto another. Nothing but stencil shadows works that way, and it kills the frame rate too much (nVidia 7600, ...).

Thanks once again!

Page 2 of 2 1 2

Moderated by  Blink, Hummel, Superku 

Gamestudio download | 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