# How to create a moonlit ocean? Movable point light causes artifacts on surface

I’m trying to create an ocean scene at night lit by the moon. My first idea was to create a movable point light with a very large attenuation radius. The problem is that I get rectangular artifacts on my test plane. If I make the light stationary the artifacts disappear, but in my case I need the moon to move.
Is there something generally wrong with my approach, or is there just a lighting setting that I need to tweak so that the artifacts disappear?

I think I need to use a movable point light because I want accurate specular reflections on the water surface, and the water surface should be lit dynamically depending on the position of the moon. Is this the correct approach?

Hi ,

You’ll want to use a directional light in your scene along with adjusting some values in the post process to get the right look.

In the directional light you can adjust the values for the light to be more of a darker color like blue/purple. You’ll also want to use a skysphere to get a good night sky.

Here is a scene I set up in less than 5 minutes using the ocean plane, water material, and a sky sphere from the Features Tour 2014 content that was recently released on the Learn Tab in the launcher.

I hope this helps!

Thanks for the demonstration, I have created a similar setup now. The problem that the moon in my scene is quite big, and the reflection of the directional light on the water does not look physically correct:

If I turn of the directional light and turn on screen space reflections, I get a result that looks correct to me:

However, screen space reflections have the problem that they disappear when the player looks down at the water and the moon is out of view. So they are not very useful to me.
Can I achieve a correct reflection using a directional light? Based on my experiments, I doubt that it is possible. I still think that a point light with source radius same as the radius of the moon might work. What would you recommend?

Hi there, I am using a Directional Light (using dynamic lighting) and get the following results, this is with SSR turned on as well, pointing the camera down does not cause the reflection to disappear for me:

You can also try using the emmissive channel of the material to output some light as well, it can help to add a bit more light.

Are you using baked or dynamic lights?