ufna / VaOcean

[DEPRECATED] Ocean Surface Simulation Plugin for Unreal Engine 4
MIT License
304 stars 135 forks source link

Near horizon reflections shadow #23

Closed BitMechanic closed 10 years ago

BitMechanic commented 10 years ago

Hi

this is a very cool plug in! i have one issue, using the standard ocean. I have a character on a boat, when viewed in third person mode, the colours of the character reflect in the water near the horizon. Also, if the character's head is under the horizon, there's a shadow in the water from the top of the head to the horizon.

Is there a setting I can change to remove these artifacts, or is it a bug?

Thanks, R

ufna commented 10 years ago

Hi,

May I ask for screenshot, please?

V.A.

BitMechanic commented 10 years ago

here you go, both shots the camera is completely static.

scrn1 scrn2

ufna commented 10 years ago

Thanks, It's a bug of normals of supplied plane mesh. I'll fix it soon this week.

BitMechanic commented 10 years ago

Great, thanks!

ufna commented 10 years ago

Oh, a little misunderstood, I'm speaking about long shadow on horizon.

Character color/siluette reflections is a "feature" of screen-space reflections. It should be less vizible with right ocean color. I'll also make demo project this week and will show nice lighting/color config.

BitMechanic commented 10 years ago

Ok. During the day the color silhouette looks like screen refresh ghosting- you can only see it if you're rotating around the character. However, my game has night time scenes, and when the ocean is dark, it's quite obvious.

BitMechanic commented 10 years ago

I can probably make it so the night time scenes are mostly fps only. Also introduce atmospherics/fog etc.

BitMechanic commented 10 years ago

By the way, is the vignetting at the sides of the screen caused by the same thing that's causing the shadow on the horizon?

ufna commented 10 years ago

Unfortunately "vignetting" is caused by nature of screen-space reflections, it's not a bug at all, it's how it works.

I hope Epics will add forward-rendering pass with classic planar reflections in future.

ufna commented 10 years ago

I've fixed near horizon shadow bug, you can try it in demo project: https://github.com/ufna/VaOcean/wiki/Demo-project

BitMechanic commented 10 years ago

Ahhh, ok. The light dawns. The demo is a big help, thanks!