|
Post by Power Supersport on Feb 21, 2015 19:19:34 GMT
This is modified shader. Original version is made by Shadmar. I modified the shader... This script gives you raining feedback by multiplicing water drops on screen... An additional Void Main() function manipulates the shader by making it animation and special fx... Requirements: Shader model 3.0 (Because of much value floats) Use: Download the attachment and put it in script's library (settings) ".\\3DRad_res\objects\script\settings\"Then load it by the script editor and connect it to CamChase. (don't forget to set the CamChase filter to "User" at the dialog)
Download the demo project for example...
The shader is not something professional. If someone can simplify it I will be very glad to see it...
Attachments:WaterRipple.obs (6.64 KB)
WaterRipple.3dr (118.01 KB)
|
|
|
Post by mikehense on Feb 22, 2015 2:39:49 GMT
great pick... THANKS Power...
--Mike
|
|
|
Post by F1Andre on Feb 22, 2015 6:49:19 GMT
Nice job and well thought out concept. Needs some modifications but great job overall.
--Andre
|
|
|
Post by F1Andre on Feb 22, 2015 7:39:55 GMT
I have an idea for the future, but what if instead of making the water effect(drops) ripple make it like a mini magnifeing glass, like that fishey effect you get on photo editing software.
|
|
|
Post by Power Supersport on Feb 22, 2015 8:51:35 GMT
Thanks all for kind words... F1Andre: You are free to modify it if you can... I am very beginner in shading HLSL, so I did that acidentally...
|
|
|
Post by F1Andre on Feb 22, 2015 9:02:36 GMT
Thanks all for kind words... F1Andre: You are free to modify it if you can... I am very beginner in shading HLSL, so I did that acidentally... Me to, LOL. I have tweaked it a lil it and got some more realistic results.Maybe I'll ad some fog for a water like fog on screen(to deteriorate the visibility). I will put it up some time later on today. I like it when people post code that can be improved, cause I didn't even knew how to make something like this till you posted it(LIKE absolutely no clue). So I thank you.
|
|
|
Post by Power Supersport on Feb 22, 2015 9:21:15 GMT
No problem!
|
|
|
Post by F1Andre on Feb 22, 2015 10:44:08 GMT
I played around and added some rain particals and thunder to the .3dr project. It now have more realism to it. You can't see the rain particals so well when I take screen shot, but it's there.
--Andre
|
|
|
Post by Power Supersport on Feb 22, 2015 10:52:12 GMT
Looks great, Andre! Feel free to share the effect...
And you can add some dirty lens effect...
|
|
|
Post by ariablutron98 on Jan 7, 2016 19:34:52 GMT
Hey power. im making an open world racing game and would love this in my game. u know just asking for permisson but for some reason i cant get 3d rad 7 to work so im using 6.40 or something like that so i cant load the code so could you copy and paste it onto here so i can copy and paste it onto my project? if its ok with u il also add you into the credits?
|
|
|
Post by Power Supersport on Jan 7, 2016 20:59:20 GMT
Thanks for your appreciation... Yes, of course... I give you a text file... Open it with Notepad and copy the code... Please, if you credit me, credit Shadmar aswell, because my code is a modification of his one... Attachments:WaterDrops.txt (6.58 KB)
|
|