zesterer / openmw-shaders

Photorealistic shaders for Morrowind
83 stars 7 forks source link

Night-Eye spell illuminates only water surface #14

Open pante11 opened 2 years ago

pante11 commented 2 years ago

Night-Eye spell somehow illuminates exclusively water surface while all of my surroundings remains dark. It happens only while shaders are installed.

zesterer commented 2 years ago

Do you have a screenshot of this?

pante11 commented 2 years ago

Before and after:

screenshot036 screenshot037

It's not very visible on screenshots, but you should see small change in the reflection.

And the next thing that I discovered just now is that it works this way only in the dusk when everything is dimmed but not entirely dark. Casting night-eye in complete darkness or during bright day doesn't change anything at all, not even the reflection.

zesterer commented 2 years ago

Does the night-eye spell create a subtle point light around the player? If so, this would explain things: I overhauled the lighting model, which might result in lights being more visibly reflected from the surface of water.

pante11 commented 2 years ago

I don't know how does this spell technically work, but I'm not exactly convinced that's the issue. I created 100 points version of this spell (previous one was 30 points) and what's changed is that now water is even brighter than earlier - but everything else still seems to be unaffected. screenshot038 screenshot039

pante11 commented 2 years ago

And this is how the same spell effect works without your shaders: screenshot041 screenshot042

zesterer commented 2 years ago

Hmm, so it seems like the spell does something hacky like adding ambient light to everything. Thanks for the information, I'll look into this!