First of all, sorry for my bad english kkkk. I am making an aircraft game:
It's a simple game, i'm trying to do my best, but unfortunately the 3D Rad community is not what it was some years ago. Searching in Google and older forums i found these two names: Genetransfers and Shadmar, but it seems that they were never seen again.
Resuming, there was a package called "shader_library_v2_7_1.zip" made by Genetransfers, and great stuff that Shadmar made using this shaders, like we can see in this video :
May this package still exists in some place? Or maybe some of you have a copy of it? It would help me a lot and i would thank you guys forever .
Or maybe someone knows how to make this kind of water effect, maybe a better lighting shader (as you see in the picture above, there's almost no lighting in terrain using 3dRad shaders, and shamar's shaders like 0016_user_tile make some textures turning black).
Thank You very much Power Supersport, if I can finish this project, I'll place a special thanks to you in the credits.
But i'm a newbie with this scripting stuff, even after reading and watching some videos, so i will explain what's happening.
First, the OceanWaveShader.obs that you have posted, i created a script, linked it with the water plane skinmesh (OBJ_0) and camera (OBJ_22), loaded the OceanWaveShader.obs and then the whole sea became a single giant wave, so i started adjusting some values and it's starting to look like a normal sea. But it's completely blue (untextured), without reflections. I also saw in the script something about water_normal_map_A.dds, water_normal_map_B.dds, frensel.dds, rock1.dds and l3wat4_hm.png. What are those files?
About the iShaderFloatSet (OBJ_X, "cEmissive", float) thing, i'm not sure how to use it, tried doing it a lot of ways, even reading some stuff about scripting and trying to made it, i know its an dumb question but, how to use it? I tried making a simple script like:
iShaderFloatSet (OBJ_X, "cEmissive", float)
But i'm pretty sure that it's not right kkkk, it needs to be linked with the skinmesh and camera?
Post by Power Supersport on Feb 24, 2017 11:17:07 GMT
It's kinda depth of field thing, but unfortunately there's no ready-to-use shader here that may help you... None of us fully know HLSL (please, correct me if I am wrong)... I suggest you leaving the blur behind for now, because it might also degrade the performance of your game...
I think it's a lot better now, thanks for the help Power Supersport! I just have not added trees yet because it makes the game very slow, but then I'll think of something to fill the lack of details on the ground, maybe 2d simple trees.
Post by Power Supersport on Feb 24, 2017 16:14:08 GMT
Mate, it's in the shadmar's system shaders that you've already installed... Just select 0025_user_vegetation... Also, don't forget to increase it's emission with the script (iShaderFloatSet (OBJ_X, "cEmissive", float))...