OpenMW Andriod -- Graphics Issues... Any Ideas?

For new and upcoming OpenMW branches and ports; move fast and break things!
User avatar
psi29a
Posts: 4371
Joined: 29 Sep 2011, 10:13
Github profile: https://github.com/psi29a/
Contact:

Re: OpenMW Andriod -- Graphics Issues... Any Ideas?

Post by psi29a » 15 Nov 2018, 15:50

Thank you for taking the time to post. :)

We'll make something work!

User avatar
AnyOldName3
Posts: 1193
Joined: 26 Nov 2015, 03:25

Re: OpenMW Andriod -- Graphics Issues... Any Ideas?

Post by AnyOldName3 » 16 Nov 2018, 02:05

Code: Select all

     vec3 scatterColour = mix(vec3(SCATTER_COLOUR)*vec3(1.0,0.4,0.0), SCATTER_COLOUR, clamp(1.0-exp(-sunHeight*SUN_EXT), 0.0, 1.0));
 
     // fresnel
-    float ior = (cameraPos.z>0.0)?(1.333/1.0):(1.0/1.333); // air to water; water to air
+    float ior = (cameraPos.z>0.0)?(1.333/1.0):(1.450/1.0); // air to water; water to air
     float fresnel = fresnel_dielectric(vVec, normal, ior);
 
     fresnel = clamp(fresnel, 0.0, 1.0);
This change looks bad to me. If it fixes a problem, the cause of the problem is elsewhere.
AnyOldName3, Master of Shadows

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest