No I've tried that but it looks ugly. I use the material from the indie ocean script(see last post): http://forum.unity3d.com/threads/ocean-renderer.171651/page-5#post-1781880 All is fine but a little to dark on the mesh. Tried to change in Blender, shaders etc. but no luck. Thanks
If it's not an issue of lighting, what about this post? http://answers.unity3d.com/questions/379752/mantain-color-brightness-and-change-only-hue.html It's about a script to change HSL of a material, I believe.
Hmm complicated...I've added a pic in the last post here: http://forum.unity3d.com/threads/ocean-renderer.171651/page-5#post-1781880
Is it possible that the darkness is from shadows cast from the ocean on the terrain below it? Try to disable shadows.
There's no shadows setting in the ocean script? But I've unchecked all shadows in my mesh. I also think it's mesh related as I've tried to optimize it in Blender and got completely different black spots in Unity. Added this but no change: light.shadows = LightShadows.None; as dark areas move with my mesh anim it should be something else.
Well the only thing I can think of without going deeper into it, is that there are a couple of layers of water that cause the color to get too dark. I think so since it seems to happen only on waves, isn't that right?
Well could be. The simplest would be to change black to white in script? But changing material color (adding script) destroys the whole ocean look. I haven't managed so far to change the ocean script accordingly. Also if I add another material (for ex. watersplash), that looks like a fex pixel to low. (below my mesh in y)
Is the script a freebie? Can I have a look at it? I am not at home right now so I can't do anymore than that right now.
Yes, even much better than most commercial stuff: http://scrawkblog.com/2013/02/24/ocean-renderer-for-unity/ I use the indie (for unity free) but might try later the one with foam.(needs the pro...)