Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, kzhao), 642 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
LucasJoshua, Baklazhan, Hanky27, firatv, wandaluciaia
19053 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Soft shadows #125692
04/22/07 14:50
04/22/07 14:50
Joined: Apr 2007
Posts: 29
R
Raymaker Offline OP
Newbie
Raymaker  Offline OP
Newbie
R

Joined: Apr 2007
Posts: 29
I red about Viva Pinata's materials....
I'm wondering if there is a way of reproducing those good lookin' soft shadows?
And if there is a way, could you tell me please how to do it? THNX

Re: Soft shadows [Re: Raymaker] #125693
04/22/07 14:52
04/22/07 14:52
Joined: Jan 2007
Posts: 2,247
Deutsch Niedersachsen
Puppeteer Offline
Expert
Puppeteer  Offline
Expert

Joined: Jan 2007
Posts: 2,247
Deutsch Niedersachsen
As i know Sphere has softshadows...
http://www.mattaufderheide.com/sphere/sphere.htm


Formally known as Omega
Avatar randomness by Quadraxas & Blade
http://omegapuppeteer.mybrute.com
Re: Soft shadows [Re: Puppeteer] #125694
04/24/07 03:21
04/24/07 03:21
Joined: Mar 2006
Posts: 2,503
SC, United States
xXxGuitar511 Offline
Expert
xXxGuitar511  Offline
Expert

Joined: Mar 2006
Posts: 2,503
SC, United States
Sphere is currently the only way to get soft-shadows...

However, as far as I know, they are somewhat faked. I think he simply duplicates the model, draws it black with transparency, and then scales the z down until it's flat, and move's it around so it looks like it's being cast.


xXxGuitar511
- Programmer
Re: Soft shadows [Re: xXxGuitar511] #125695
04/24/07 04:28
04/24/07 04:28
Joined: Oct 2005
Posts: 4,771
Bay City, MI
lostclimate Offline
Expert
lostclimate  Offline
Expert

Joined: Oct 2005
Posts: 4,771
Bay City, MI
nope, from what i understand from his explainations, is that he uses a cubemap of some type for each light and does a depth test on each pixel if a pixel returns a closer value than the location of that point he darkens them.

Re: Soft shadows [Re: lostclimate] #125696
04/25/07 00:44
04/25/07 00:44
Joined: Mar 2006
Posts: 2,503
SC, United States
xXxGuitar511 Offline
Expert
xXxGuitar511  Offline
Expert

Joined: Mar 2006
Posts: 2,503
SC, United States
Ah, I see. So they are true shadows then. Thats a REALLY slow method, but the true way...

The way I described above is what the shadercollection posted a lil back does for shadows...


xXxGuitar511
- Programmer
Re: Soft shadows [Re: xXxGuitar511] #125697
05/18/07 09:10
05/18/07 09:10
Joined: Oct 2005
Posts: 4,771
Bay City, MI
lostclimate Offline
Expert
lostclimate  Offline
Expert

Joined: Oct 2005
Posts: 4,771
Bay City, MI
yep, what you were talking about is a method he did make for soft dynamic shadows to replace stencil shadows in one of the aums, i think 31 it shows your method.

Re: Soft shadows [Re: xXxGuitar511] #125698
05/18/07 22:39
05/18/07 22:39
Joined: Oct 2003
Posts: 4,131
M
Matt_Aufderheide Offline
Expert
Matt_Aufderheide  Offline
Expert
M

Joined: Oct 2003
Posts: 4,131
Quote:

Sphere is currently the only way to get soft-shadows...

However, as far as I know, they are somewhat faked. I think he simply duplicates the model, draws it black with transparency, and then scales the z down until it's flat, and moves it around so it looks like it's being cast.




Just wondering where you got this idea...did you make that up?

Sphere uses 2 methods for shadows, one for indoor (point lights) and one for outdoors(directional). Both are forms of shadow mapping.

For point lights, the scene depth from each lights' perspective is rendered into a cubemap, which is then used as a shadow map in the final lighting shader. The smoothing in Sphere2 is done using percentage closer filtering (a different method was used in SPhere1 but was slower and had some artifacts).

For directional lights (sunlight) the shadow is rendering as a back and white mask from the sun frustum, and then projected onto the terrain. A logarithmic distortion field is used to increase apparent shadow resolution.

The shadows run at a reasonable speed on modern cards (GeForce 6 series or better).


Sphere Engine--the premier A6 graphics plugin.
Re: Soft shadows [Re: Matt_Aufderheide] #125699
05/22/07 13:11
05/22/07 13:11
Joined: Jan 2007
Posts: 2,247
Deutsch Niedersachsen
Puppeteer Offline
Expert
Puppeteer  Offline
Expert

Joined: Jan 2007
Posts: 2,247
Deutsch Niedersachsen
@ Matt:
Is it possible to update the softshadows every frame in sphere?
because in the demo it looks like they are updated every 6-8 frames...
(Geforce 6800 GS)


Formally known as Omega
Avatar randomness by Quadraxas & Blade
http://omegapuppeteer.mybrute.com
Re: Soft shadows [Re: Puppeteer] #125700
05/23/07 06:14
05/23/07 06:14
Joined: Oct 2003
Posts: 4,131
M
Matt_Aufderheide Offline
Expert
Matt_Aufderheide  Offline
Expert
M

Joined: Oct 2003
Posts: 4,131
There should be a variable you can change..


Sphere Engine--the premier A6 graphics plugin.

Moderated by  Blink, Hummel, Superku 

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