Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
3 registered members (TipmyPip, AndrewAMD, NewbieZorro), 16,055 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 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 | 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