Gamestudio Links
Zorro Links
Newest Posts
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Data from CSV not parsed correctly
by EternallyCurious. 04/20/24 21:39
M1 Oversampling
by 11honza11. 04/20/24 20:57
Scripts not found
by juergen_wue. 04/20/24 18:51
zorro 64bit command line support
by 7th_zorro. 04/20/24 10:06
StartWeek not working as it should
by jcl. 04/20/24 08:38
folder management functions
by VoroneTZ. 04/17/24 06:52
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
0 registered members (), 470 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, howardR, 11honza11, ccorrea, sakolin
19047 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Reflections #439219
03/28/14 21:10
03/28/14 21:10
Joined: Nov 2013
Posts: 47
S
SkullBoy99 Offline OP
Newbie
SkullBoy99  Offline OP
Newbie
S

Joined: Nov 2013
Posts: 47
Hey guys,i really need 2 things:
1.Is a way ,or shader for cars to reflect world around it?
2.Rain effect:
When rain in game,i want to give roads a bit shiny and reflect a bit lights like in NFS: MW or NFS:U2
(I do a game gta-style in lite-c, not NFS laugh ).
Please help me grin

Re: Reflections [Re: SkullBoy99] #439230
03/29/14 08:24
03/29/14 08:24
Joined: Nov 2007
Posts: 2,568
Germany, BW, Stuttgart
MasterQ32 Offline
Expert
MasterQ32  Offline
Expert

Joined: Nov 2007
Posts: 2,568
Germany, BW, Stuttgart
1. Use a environment mapping shader
You have two options:
I. Create a static environment map from your level or just use your sky to get sky reflections
II. Create a dynamic environment map. You use bmap_createblack and bmap_to_cubemap, then use 6 VIEWs to render the cubemap from the center of your model. So you get dynamic reflections but they will cost a lot of performance

2. For roads you can use some shader effects as well:
I. Strong specular lighting and frontlights for your cars
II. Screen space reflections would serve here pretty good, afaik Superku made an implementen some time ago

Hope i could help


Visit my site: www.masterq32.de
Re: Reflections [Re: MasterQ32] #439240
03/29/14 13:47
03/29/14 13:47
Joined: Nov 2013
Posts: 47
S
SkullBoy99 Offline OP
Newbie
SkullBoy99  Offline OP
Newbie
S

Joined: Nov 2013
Posts: 47
Thank you,I will try to implement these later.
grin

Re: Reflections [Re: SkullBoy99] #439281
03/30/14 13:45
03/30/14 13:45
Joined: Nov 2013
Posts: 47
S
SkullBoy99 Offline OP
Newbie
SkullBoy99  Offline OP
Newbie
S

Joined: Nov 2013
Posts: 47
MasterQ32, please can you upload a fx file for dynamic env map for cars?I had tried some fx files but don't what I want.and what is that screen space reflection? grin


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