Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by EternallyCurious. 04/18/24 10:45
StartWeek not working as it should
by Zheka. 04/18/24 10:11
folder management functions
by VoroneTZ. 04/17/24 06:52
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:48
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (SBGuy), 712 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, howardR, 11honza11, ccorrea, sakolin
19047 Registered Users
Previous Thread
Next Thread
Print Thread
Rating: 5
Page 9 of 20 1 2 7 8 9 10 11 19 20
Re: Shade-C v0.91 : Variance Shadowmapping [Re: Quad] #238752
11/29/08 21:48
11/29/08 21:48
Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
Xarthor Offline
Expert
Xarthor  Offline
Expert

Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
One word:
AWESOME!! smile

well, I can't say anything else besides that you did a great job so far!
keep it up!

Re: Shade-C v0.91 : Variance Shadowmapping [Re: Xarthor] #238756
11/29/08 22:14
11/29/08 22:14
Joined: May 2005
Posts: 2,713
Lübeck
Slin Offline
Expert
Slin  Offline
Expert

Joined: May 2005
Posts: 2,713
Lübeck
Wow, this looks incredible. I just hope that there aren´t too many things one can´t see on the screenshots but are making them unusable...

Lately I was looking a little into shadowmapping with pointlights as I just for fun am creating a little cave scene when I need to get out of the stuff I should do instead... and I am really missing shadows there.
Is there any article you can recomment me besides this great one: http://http.developer.nvidia.com/GPUGems/gpugems_ch12.html ?

Re: Shade-C v0.90 released [Re: BoH_Havoc] #238757
11/29/08 22:16
11/29/08 22:16
Joined: Jun 2007
Posts: 1,337
Hiporope and its pain
txesmi Offline
Serious User
txesmi  Offline
Serious User

Joined: Jun 2007
Posts: 1,337
Hiporope and its pain
great!!
thanks a lot, it is what i was lookig for.

Re: Shade-C v0.91 : Variance Shadowmapping [Re: Slin] #238771
11/30/08 00:11
11/30/08 00:11
Joined: Jun 2004
Posts: 655
to your left
BoH_Havoc Offline OP
User
BoH_Havoc  Offline OP
User

Joined: Jun 2004
Posts: 655
to your left
Wow, thanks for the kind words guys! Much appreciated smile

Quote:
I just hope that there aren´t too many things one can´t see on the screenshots but are making them unusable...


There's only one thing that i can think of at the moment that is making the shadows unusable for outdoor scenes: The sky gets rendered black. I don't think it's too hard to fix that (hopefully ^^).
Apart from that the current depthmap gets rendered to a fp16 texture instead of plain old 32bit. The whole thing works with 32bit if really needed, but you get some nasty artifacts on the smooth shadow areas sometimes. This is a known "bug" with variance shadowmapping. I'm thinking of creating a simple fallback without variance shadowmapping for 32bit so the whole thing can be used on a wider range of hardware.
Everything else is working just fine and i hope it stays that way smile


Quote:
Is there any article you can recomment me besides this great one: http://http.developer.nvidia.com/GPUGems/gpugems_ch12.html ?


Unfortunally, no there isn't. At least i haven't found one. But to get you started, here's some code:

vertex shader:
//cube-projection
output.position_world = mul(position, matWorld).xyz;
output.LightDir = (vecLightPos[0].xyz - output.position_world);

pixelshader:
depthmap = texCUBE(depthSampler, -float4(input.LightDir.xyz, 1.0f));

Basically you just have to take a shadowmapping shader of your choice and put these 3 lines in. The good thing about all this is that you don't need special light matrices for your projection anymore and can use matEffect1-8 for other things smile


Now back to optimizing that shader...


Shade-C EVO Lite-C Shader Framework
Re: Shade-C v0.91 : Variance Shadowmapping [Re: BoH_Havoc] #238781
11/30/08 04:49
11/30/08 04:49
Joined: May 2002
Posts: 7,441
ventilator Offline
Senior Expert
ventilator  Offline
Senior Expert

Joined: May 2002
Posts: 7,441
this looks really great. does it work with several light sources? i think you should also add PSSM for outdoor sun light shadows, make sure everything works well together and then sell it to jcl. he said he would buy such things. maybe you could also work together with slin for PSSM? it would be great to have all of this in one compatible and easy to use package.

Re: Shade-C v0.91 : Variance Shadowmapping [Re: ventilator] #238834
11/30/08 14:40
11/30/08 14:40
Joined: Oct 2006
Posts: 873
S
Shadow969 Offline
User
Shadow969  Offline
User
S

Joined: Oct 2006
Posts: 873
this. is. awesome. laugh

Re: Shade-C v0.91 : Variance Shadowmapping [Re: BoH_Havoc] #238840
11/30/08 16:33
11/30/08 16:33
Joined: Jan 2008
Posts: 20
On the right track
Rayn Offline
Newbie
Rayn  Offline
Newbie

Joined: Jan 2008
Posts: 20
On the right track
Excellent, excellent work!!!

I followed Chris3Ds attempt on the shadows and he had problems with the omni-lights when running them on Vista. Does this run on Vista?

Keep up the good work! Best of luck!

Rayn

On Chris3D: http://www.coniserver.net/ubb7/ubbthreads.php?ubb=showflat&Number=205203&page=11

Re: Shade-C v0.91 : Variance Shadowmapping [Re: ventilator] #238854
11/30/08 19:47
11/30/08 19:47
Joined: Oct 2002
Posts: 8,939
planet.earth
ello Offline
Senior Expert
ello  Offline
Senior Expert

Joined: Oct 2002
Posts: 8,939
planet.earth
great job!

Originally Posted By: ventilator
...and then sell it to jcl. he said he would buy such things...


please better sell it yourself. since i guess i am not the only one who dont want to by a8 for this smile

Re: Shade-C v0.91 : Variance Shadowmapping [Re: ello] #239842
12/07/08 18:17
12/07/08 18:17
Joined: Oct 2005
Posts: 4,771
Bay City, MI
lostclimate Offline
Expert
lostclimate  Offline
Expert

Joined: Oct 2005
Posts: 4,771
Bay City, MI
hey i just got a7 last night and got shade-c, only to notice ssao is disabled and the shadowmapping isnt even in yet, and known time on when it will be out?

Re: Shade-C v0.91 : Variance Shadowmapping [Re: lostclimate] #239871
12/07/08 22:23
12/07/08 22:23
Joined: Jun 2004
Posts: 655
to your left
BoH_Havoc Offline OP
User
BoH_Havoc  Offline OP
User

Joined: Jun 2004
Posts: 655
to your left
Quote:
does it work with several light sources?


Not yet, I'm still optimizing everything for one light so it runs at the highest framerate possible. Once this is done, i will add support for more lights.


Quote:
i think you should also add PSSM for outdoor sun light shadow


Working on it. I'm still reading through all the papers of PSSM, LiPSM, CSM, etc. and am trying to figure out which one to use.


Quote:
Does this run on Vista?


I have no idea. I don't even know if it runs on Ati cards as i only have nvidia cards laying around. This will be figured out by the beta testers.


Quote:
hey i just got a7 last night and got shade-c, only to notice ssao is disabled and the shadowmapping isnt even in yet, and known time on when it will be out?


I try to get the next version done by christmas eve so you have something to play with during holidays wink



HeelX just sent me some pictures of rendering errors. Anyone else got these problems? If so, could you please post your system configuration so i can try to figure out what the problem is? (left: no sunstorm -> bugs, right: with sunstorm -> everything works fine)



Shade-C EVO Lite-C Shader Framework
Page 9 of 20 1 2 7 8 9 10 11 19 20

Moderated by  adoado, checkbutton, mk_1, Perro 

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