Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
5 registered members (SBGuy, dr_panther, Ayumi, Quad, AndrewAMD), 920 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 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