@bankbaa : I think a .blend-file would be good. Looks like an similar problem like mine.
That seems to be a different kind of fault.
Try this modified version.
Thank you HG1.
It wasnât perfect, but after some little adjustments now it works fine.
Thank you!
could you please tell me, how you did change the colour of the water? that would be very nice of you, cuz
1.Iâm german and not the best in english
2. iâm a total newbie if blender is the subject.
And, btw, i tried it, but how do i get this kinda underwater looking fog thingy when iâm underwater?
And does this animated light texture on the sand start at level 0?
or what do i have to do, to get it there?
Wenn du den Shader von Post #183 verwendest dann gilt folgendes.
- Die Wasserfarbe wird anhand der Reflexion der Umgebung und der Sonne im Shader âwatershader_highâ berechnet. Du musst also die Farbe des Untergrunds, des Himmels und der Sonne ändern.
FĂźr den Untergrund wird ein eigener Shader âUntergrundsâ verwendet. In der Zeile 183 kannst du die Wasserfarbe und in der Zeile 184 die Farbe der Sonne ändern. - Ich denke mal du hast den etwas älteren Shader von der ersten Seite oder vom Post #187 verwendest dann ist der Unterwassershader dort nicht enthalten.
Den findest du im Post #132 oder meine Buggefixte Version davon im Post Post #183.
Die Diakaustik am Grund wird mit Hilfe der Normalmap âgroundâ > âclayâ > âTexture.002â generiert.
Du kannst deine Fragen auch im deutschen Blender Forum Belndpolis stellen http://www.blendpolis.de/viewforum.php?f=15.
If you use the shader of post # 183 then the following applies.
- The water color is calculated by the reflection of the environment and the sun in the shader âwatershader_highâ. So you need to change the color of the ground, the sky and the sun.
For the ground, a separate shader âUntergrundsâ is used. In line 183 you can change the water color and in line 184 change the color of the sun. - I guess you are using the older shader from the first page or from post #187. This shader does not have an unter wasser shader.
You can find the unter wasser shader in post # 132 or in my bug fixed version in post #183
The caustic on the ground is generated in the shader by using the normal map âground (object)â> âclay (material)â> âTexture.002 (texture)â.
You can alos ask your questions in the german Blender forum Belndpolis http://www.blendpolis.de/viewforum.php?f=15.
okay, thx fĂźr die info
Bist mein held(fĂźr heute)
but my problem is, that the shader wonât work anyways, underwater, how do i set it up, to work, i did everything, but maybe i did it wrong wit the meshes, could ya please take a look? that would be very nice
http://www.mediafire.com/download.php?14410v69h7ymjq4
You have forgotten to save the blend file with textures.
The under water shader is working.
You must change the order of the textures on the âclayâ material (the normal map must be on the top).
You need to add the skybox and you must move the sun much more up (light down = night, light up = day).
If you want that objects in the water also be fogged you must join this objects to the ground (donât forget, join in the right order).
A new video of my ocean shader:
the blend will be here in next few hours
I have also updated the planar reflections/refraction setup file for those who want to use it for their own projects:
https://dl.dropboxusercontent.com/u/11542084/water_surface_1.1.blend
changes:
- to reduce the 1 frame render delay, instead of delaying the camera I added a delta offset factor so the render camera is guessing the next position and orientation to render
- âŚso no more messy camera system now it is almost a drag&drop setup in your project
- fixed clipping issue on nvidia cards
Oh my goodness martinsh, this update looks excellent. Canât wait for the new blend. Has there been any performance increase with the newer version. I will try it out anyway but thought Iâd ask and see if you had purposefully done some optimisation on it? The last version of it worked well, but it was fairly heavy on the processing side.
The new water_surface blend works great as well, getting good fps on my old(ish) laptop, so Iâm going to assume it runs great on a decent desktop. Many thanks for sharing this.
OMG! :eek:
This somehow has to be added to the default shaders (or be included in a resource pack) because that is top grade- it looks beyond commercial game quality. A fantastic job! I showed that video to my wife and she thought it was real (until the big monkey head, anywayâŚ).
Any chance you write such a water shader for Unity?
I donât know what you do for a living. But if you would sell such a water shader in Unityâs Asset Store, Iâm certain you would make several thousands a month.
Fantastic work.
Just saw that update. Thatâs really good work. Really inspiring
here is the download link to blend file for the last update:
https://dl.dropboxusercontent.com/u/11542084/water_0.99_optimized.blend
Havent really thought about it, but it sounds like a good idea. I know some of my work is already in Unity
s Asset Store like the Area lights, but implemented by another coder. It`s about time I take a look at Unity.
thanks alot ! why HDR doesnot work on my laptopâŚusing Blender 2.67b ,Nvidia 610m, i5 3210, 8GB RAM
I cannot see many of the effects in the video like the waterdrops in the camera when you move out from the water or the glare effect. I have a GTX460, any idea why I cannot see these effects? Thanks.
When starting i get 22fps with water drops i get like 17.
Yes Iâm aware of the area lights. Your work inspires a lot people. Your box projected cubemapping video got also numerous mentions. Even from the Marmoset people at the Unity forums.
The thing is, Unity is not bad and all. But it lacks of some really bad ass shaders. Even the default shaders suck pretty hard. Because of that Iâve learned some shader coding, to get my own basic shaders done. But what you do is beyond me. By far.
And as a long time user of Unity I can tell you, that especially a premium quality water shader like yours is one of the most desired shaders for Unity.
It would be damn great if you have a look into Unity. A lot people would appreciate that. Thatâs for sure.