Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
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
0 registered members (), 677 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
lorikob361, LucasJoshua, Baklazhan, Hanky27, firatv
19054 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