A Unity ID allows you to buy and/or subscribe to Unity products and services, shop in the Asset Store and participate
in the Unity community.
Introducing the new Universal Render Pipeline and High Definition Render Pipeline subforums!
Unity 2019.3 Beta is out now.
Discussion in 'General Discussion' started by JamesArndt, Aug 30, 2018.
By the way: https://forum.unity.com/threads/crest-advanced-ocean-renderer-open-source.547684/
Yes but i dont want a reflection, I want the surface of the mesh lit via the shader with both point and spot lights.
It should be possible for them to implement this because the ocean surface is physical with a material and surface shader.
Using a reflection isnt good enough nor is it realistic enough. I want the ocean to be lit by things such as a light house light as well as lights on the boats such as headlamps and lighting around the boats exterior.
I'm going to post something pretty soon that is going to blow your mind .
Within the next few days. What I will post will be one of the coolest things you have seen using this asset.
It's a shame this wasn't made with shader graph or amplify - then I would probably be able to add the lighting in myself.
Unfortunately my skill with editing shaders manually isn't up to par for a task like this with a shader this complex.
Eh Im going to see if I can dig into their surface shader and see what I can come up with. Honestly it shouldn't be to difficult to implement basic light support for point lights on the foam as well as the surface.
Honestly not sure why they didn't think of this when they made the shader.
Well I now know for a fact it is possible, I have it working with lights hitting the surface by modifying the shader, now the only issue is its only rendering where the light is hitting the surface.
This is probably going to take me abit but by golly, Im going to figure it out.
This ocean system is using a Frag/Vert shader. So I am doing some research into how to add a lighting model to it.
Have anyone experienced that your ocean turns pink when opening the file after it has been closed down?
It was looking so gorgeous and I can see the settings are the same and enabled...but now pink?
Does anyone know how I can switch out custom OceanWaveSpectrums on the fly while it's running, no matter what I do I can't seem to find the right context to alter the _spectrum value during runtime in the Gerstner script.
tks to author,its great for my study.