Gamestudio Links
Zorro Links
Newest Posts
Trading Journey
by howardR. 04/28/24 09:55
basik85278
by basik85278. 04/28/24 08:56
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Help with plotting multiple ZigZag
by M_D. 04/26/24 20:03
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
M1 Oversampling
by jcl. 04/26/24 11:12
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
0 registered members (), 744 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 Registered Users
Previous Gallery
Next Gallery
Print Thread
Rate Thread
Page 1 of 4 1 2 3 4
Twilight Box #388496
12/03/11 21:13
12/03/11 21:13
5 Images
Joined: Mar 2006
Posts: 2,252
Hummel Offline OP
Expert
Twilight Box

New graphics demo inspired by Superku´s 2d shadowing technique. Originaly planed as a small side project this took me about a week longer to finish than expected. But it was worth the effort I think. laugh
The demo is designed to run under shader model 2.0 (or higher) without the need for multible render targets or floating point render targets. There are still a few things missing I planed to implement in the beginning,
even some fundamental features like loading/saving a scene but I had to stop at some point. I´ll probably make a more complete version sometime.

Key features:
- soft shadows
- self-shadowing (was trickier than one might expect)
- ambient occlusion

You can/have to create occluders on your own and move the light around (duhh tongue ).
There is a new video on my Youtube Channel which shows how to organize the occluders the way that you prevent light-bleeding artifacts which can occur due to the approximation nature of the whole shadow rendering.

Credits:
- eye symbol design by Nintendo
- original eye symbol graphic by BlindedFan103 (http://blindedfan103.deviantart.com/)
- inspiration for making this demo by Superku

And here is the download link to the demo: Twilight Box
Have fun!
Last edited by Hummel; 07/21/15 23:34. Reason: updated download link (thx to HeelX)
30 Comments
Re: Twilight Box [Re: Hummel] #388499
12/03/11 21:36
12/03/11 21:36
Joined: Dec 2008
Posts: 1,218
Germany
Rackscha Offline
Serious User
Rackscha  Offline
Serious User

Joined: Dec 2008
Posts: 1,218
Germany
Very impressive laugh


MY Website with news of my projects:
(for example my current
Muliplayer Bomberman,
GenesisPrecompiler for LiteC
and TileMaster, an easy to use Tile editor)
Sparetime-Development

Re: Twilight Box [Re: Rackscha] #388504
12/03/11 21:55
12/03/11 21:55
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
:-@
Looks very nice, but I get some artifacts at certain angles when I circle around the ... lines: http://www.superku.de/bummel.jpg


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends
Re: Twilight Box [Re: Superku] #388507
12/03/11 22:20
12/03/11 22:20
Joined: Mar 2006
Posts: 2,252
Hummel Offline OP
Expert
Hummel  Offline OP
Expert

Joined: Mar 2006
Posts: 2,252
Very strange, do you have a nVidia graphics card?
Does it only happen for overlapping shadows?
If you want to experiment a little bit around take a look in the Shadow_FX.fx file. You could also try to change the shadow map (Line 405 ShadowMap) format to floating point in main.c and recompile the project

Re: Twilight Box [Re: Hummel] #388508
12/03/11 22:27
12/03/11 22:27
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Hm no, I've got a Radeon 5870 with current drivers.
Quote:
Does it only happen for overlapping shadows?

No, I get the same effect when I only create one line. Floating point target does not help here.

Last edited by Superku; 12/03/11 22:35.
Re: Twilight Box [Re: Superku] #388509
12/03/11 22:34
12/03/11 22:34
Joined: Mar 2006
Posts: 2,252
Hummel Offline OP
Expert
Hummel  Offline OP
Expert

Joined: Mar 2006
Posts: 2,252
Even the Intel graphics chipset of my laptop didnt make any problems...AMD..why?! Why do you want me to suffer?!! T__T

Re: Twilight Box [Re: Hummel] #388510
12/03/11 22:45
12/03/11 22:45
Joined: May 2008
Posts: 2,113
NRW/Germany
alibaba Offline
Expert
alibaba  Offline
Expert

Joined: May 2008
Posts: 2,113
NRW/Germany
Got the same Problem smirk


Professional Edition
A8.47.1
--------------------
http://www.yueklet.de
Re: Twilight Box [Re: alibaba] #388527
12/04/11 00:00
12/04/11 00:00
Joined: Jan 2007
Posts: 2,247
Deutsch Niedersachsen
Puppeteer Offline
Expert
Puppeteer  Offline
Expert

Joined: Jan 2007
Posts: 2,247
Deutsch Niedersachsen
I just realized that my macbook has an AMD graca inside. Though good work.


Formally known as Omega
Avatar randomness by Quadraxas & Blade
http://omegapuppeteer.mybrute.com
Re: Twilight Box [Re: Puppeteer] #388534
12/04/11 01:08
12/04/11 01:08
Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
Rei_Ayanami Offline
Expert
Rei_Ayanami  Offline
Expert

Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
Very nice laugh

Re: Twilight Box [Re: Rei_Ayanami] #388562
12/04/11 13:38
12/04/11 13:38
Joined: Dec 2008
Posts: 1,218
Germany
Rackscha Offline
Serious User
Rackscha  Offline
Serious User

Joined: Dec 2008
Posts: 1,218
Germany
MY new PC has a NVidia(for a good reason). I felt like every AMD driver is some kind of experimental thing frown


MY Website with news of my projects:
(for example my current
Muliplayer Bomberman,
GenesisPrecompiler for LiteC
and TileMaster, an easy to use Tile editor)
Sparetime-Development

Page 1 of 4 1 2 3 4

Moderated by  jcl, Realspawn, Spirit 

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