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 ). Please help me
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
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?