Gamestudio Links
Zorro Links
Newest Posts
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
4 registered members (degenerate_762, AbrahamR, AndrewAMD, ozgur), 667 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
Parallax Mapping + Projection's shadow #44808
04/23/05 13:16
04/23/05 13:16
Joined: Sep 2003
Posts: 271
Germany
Chris3D Offline OP
Member
Chris3D  Offline OP
Member

Joined: Sep 2003
Posts: 271
Germany
Hi! I linked Matt's parallax-shader with the projection-shader:

I want to make fake dynamic shadows with the projection shader but there are some problems to fix:

- there should be shadows for each column, so every shadow is controlled by a single camera VIEW.
- the backside projection should be removed.(not so important)
- a biasfilter should smooth the shadow if the light object leaves a column.(not so important)
- combine the camera.views with "render to textur" and make "real time shadows".(maybe later)

It would be great, if you can help me to fix these problems!

I have not so much time for that, because I am working on a ragdoll system which is free for you: Free Ragdoll system

Here is the level with the script and fx files: Part1 Part2 Part3 Part4 (I removed the left wall)

Sorry for the bad English or Germish
Greetings
Chris

Re: Parallax Mapping + Projection's shadow [Re: Chris3D] #44809
04/24/05 13:39
04/24/05 13:39
Joined: Sep 2003
Posts: 271
Germany
Chris3D Offline OP
Member
Chris3D  Offline OP
Member

Joined: Sep 2003
Posts: 271
Germany
Bevor ihr mir fragen dazu stellt, bitte erstmal das script+level downloaden:
Before asking me questions download the level + script:
Part1 Part2 Part3 Part4
Please download all parts, you need winrar to unpack it.
Cu chris

Re: Parallax Mapping + Projection's shadow [Re: Chris3D] #44810
04/27/05 15:52
04/27/05 15:52
Joined: Sep 2003
Posts: 271
Germany
Chris3D Offline OP
Member
Chris3D  Offline OP
Member

Joined: Sep 2003
Posts: 271
Germany
any help, any reply????

Re: Parallax Mapping + Projection's shadow [Re: Chris3D] #44811
04/30/05 16:37
04/30/05 16:37
Joined: Sep 2003
Posts: 271
Germany
Chris3D Offline OP
Member
Chris3D  Offline OP
Member

Joined: Sep 2003
Posts: 271
Germany
hello???


website coming soon!
Re: Parallax Mapping + Projection's shadow [Re: Chris3D] #44812
04/30/05 17:02
04/30/05 17:02
Joined: Sep 2003
Posts: 271
Germany
Chris3D Offline OP
Member
Chris3D  Offline OP
Member

Joined: Sep 2003
Posts: 271
Germany
ok,ok, das einzige was ich von euch shader profis wissen will, ist ja nur wie ich die projezierte textur per pixel- oder vertex-shader bewegen kann, ist das zuviel verlangt?

Re: Parallax Mapping + Projection's shadow [Re: Chris3D] #44813
04/30/05 17:04
04/30/05 17:04
Joined: Oct 2003
Posts: 4,131
M
Matt_Aufderheide Offline
Expert
Matt_Aufderheide  Offline
Expert
M

Joined: Oct 2003
Posts: 4,131
Bascially you can't make dynamic shadows just using this projection shader this way. You need to render a depth map and then use that to make your shadows in a shader. There is however another way..along with a shader that makes them render as black sillouettes against a white background you can render six views(of just the entities that cast shadows) from the light position to make a cubemap, then apply this cubemap projectively and multiplied.

Re: Parallax Mapping + Projection's shadow [Re: Matt_Aufderheide] #44814
05/03/05 11:40
05/03/05 11:40
Joined: Sep 2003
Posts: 271
Germany
Chris3D Offline OP
Member
Chris3D  Offline OP
Member

Joined: Sep 2003
Posts: 271
Germany
the "other way" doesn't sound badly!
it would be nice if somebody could make a shader that displays everything in white and only the objects which should get a shadow are displayed in black! Than, you render the view to a cubemap and display it with the projection shader! The only problem is the backside projection! I don't know how to remove that effect. Maybe somebody like "ello" could do this job for us, I would pay anyone who could make it!
cu chris

Re: Parallax Mapping + Projection's shadow [Re: Chris3D] #44815
05/03/05 18:52
05/03/05 18:52
Joined: Oct 2002
Posts: 8,939
planet.earth
ello Offline
Senior Expert
ello  Offline
Senior Expert

Joined: Oct 2002
Posts: 8,939
planet.earth
if only i could render a realtime-cubemap into a texture (at reasonable peeds).. mmmh that would be nice.but i cant

and btw, it would be cooler to have the stencil shadow as a separate material to apply shader there. you could then use displacement or softing to it.

Re: Parallax Mapping + Projection's shadow [Re: ello] #44816
05/04/05 10:56
05/04/05 10:56
Joined: Sep 2003
Posts: 271
Germany
Chris3D Offline OP
Member
Chris3D  Offline OP
Member

Joined: Sep 2003
Posts: 271
Germany
well, i think the "Zeraphine X3" can render a realtime cubemap, but your right, editing the stencil shadow would be an easier solution...we should ask jcl for that...
thx, chris

Re: Parallax Mapping + Projection's shadow [Re: Chris3D] #44817
05/19/05 14:26
05/19/05 14:26
Joined: Sep 2003
Posts: 271
Germany
Chris3D Offline OP
Member
Chris3D  Offline OP
Member

Joined: Sep 2003
Posts: 271
Germany
Hi! Ich wollte nur noch anmerken, dass der parallax code also die "parallax.fx" datei eigentlich nicht wirklich parallax mapping ist, da die heightmap, wie ich feststellen musste nur die textur verzerrt und das displacement mapping damit nicht das Wahre ist. Vielleicht kann sich jemand nochmal den code anschauen, es hängt ja alles vom "const float HeightScale=..." Wert ab.

Page 1 of 2 1 2

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