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
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (blaurock), 750 guests, and 3 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 2 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: Rackscha] #388594
12/04/11 20:33
12/04/11 20:33
Joined: Oct 2005
Posts: 4,771
Bay City, MI
lostclimate Offline
Expert
lostclimate  Offline
Expert

Joined: Oct 2005
Posts: 4,771
Bay City, MI
@rackscha.... i agree, i've only had ati/amd in laptops and everyone of them has a different driver setup. nvidia is simple, i log on the site, select my card family and voila! (aside from the one card i have that needs an old driver to work properly on hd screens)

Re: Twilight Box [Re: lostclimate] #388601
12/04/11 21:39
12/04/11 21:39
Joined: Dec 2008
Posts: 1,218
Germany
Rackscha Offline
Serious User
Rackscha  Offline
Serious User

Joined: Dec 2008
Posts: 1,218
Germany
@Lostclimate: or new drivers, destroying performance completely, adding new artifacts or other odd stuff. In my opinion, AMD is not able to create proper drivers.


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] #389018
12/09/11 15:31
12/09/11 15:31
Joined: Oct 2004
Posts: 4,134
Netherlands
Joozey Offline
Expert
Joozey  Offline
Expert

Joined: Oct 2004
Posts: 4,134
Netherlands
One needs A8 pro to run this? I get "project incomplete - no effect compiler (PP_Down.fx)" and other error messages popping up when clicking the executable.


Click and join the 3dgs irc community!
Room: #3dgs
Re: Twilight Box [Re: Joozey] #389022
12/09/11 16:36
12/09/11 16:36
Joined: Mar 2006
Posts: 3,538
WA, Australia
J
JibbSmart Offline
Expert
JibbSmart  Offline
Expert
J

Joined: Mar 2006
Posts: 3,538
WA, Australia
The terrible dilemma. As a shader programmer, you know better than to own an AMD card. But as a shader programmer, you really should own an AMD card.


Formerly known as JulzMighty.
I made KarBOOM!
Re: Twilight Box [Re: JibbSmart] #389034
12/09/11 19:09
12/09/11 19:09
Joined: Dec 2008
Posts: 1,218
Germany
Rackscha Offline
Serious User
Rackscha  Offline
Serious User

Joined: Dec 2008
Posts: 1,218
Germany
@JO: you need comercial.


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] #389038
12/09/11 19:59
12/09/11 19:59
Joined: Mar 2006
Posts: 2,252
Hummel Offline OP
Expert
Hummel  Offline OP
Expert

Joined: Mar 2006
Posts: 2,252
@Joozey: Forgot to inlcude the HLSL compiler. Updated the download link. Should work now.
@Rackscha: Only if he wants to compile the project.

Re: Twilight Box [Re: Hummel] #389048
12/09/11 22:14
12/09/11 22:14
Joined: Oct 2004
Posts: 4,134
Netherlands
Joozey Offline
Expert
Joozey  Offline
Expert

Joined: Oct 2004
Posts: 4,134
Netherlands
This works really nicely laugh. Almost looks like the drawn lines become extruded 3d faces towards the camera, which then are used for shadow blending.


Click and join the 3dgs irc community!
Room: #3dgs
Re: Twilight Box [Re: Joozey] #389053
12/10/11 00:01
12/10/11 00:01
Joined: Mar 2006
Posts: 2,252
Hummel Offline OP
Expert
Hummel  Offline OP
Expert

Joined: Mar 2006
Posts: 2,252
That´s how it works. No need to render a fullscreen quad for every shadow. This way you save the processing time of thousands of pixels. Deferred lighting uses the same concept when rendering lights. There you only render f.i. a bounding sphere for every light and project the necessary textures (normalmap, specularmap etc.) on this geometry instead on a quad which covers the whole screen e.g. also the pixels which will not be affected by the light.

Re: Twilight Box [Re: Rackscha] #389099
12/10/11 15:35
12/10/11 15:35
Joined: Apr 2008
Posts: 2,488
ratchet Offline
Expert
ratchet  Offline
Expert

Joined: Apr 2008
Posts: 2,488
Good!

But why again is this on showcase ??

Re: Twilight Box [Re: ratchet] #389148
12/10/11 22:07
12/10/11 22:07
Joined: Oct 2004
Posts: 4,134
Netherlands
Joozey Offline
Expert
Joozey  Offline
Expert

Joined: Oct 2004
Posts: 4,134
Netherlands
I can imagine two or more lights complicates things considerably... let alone non-topview camera.


Click and join the 3dgs irc community!
Room: #3dgs
Page 2 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