#What could be the cause of this issue?

1 messages · Page 1 of 1 (latest)

open relic
#

So, on the right is how my game is supposed to look (HTML Export), on the windows executable, I have these strange shadows/lines, what could be the cause of this?

#

The Camera3D object is using an Orthogonal projection

fading tinsel
#

You mean the shadow?

open relic
#

You will see there is some light difference, between both executables (where the HTML one seems correct)

fading tinsel
#

I think HTML runs on Compatibility mode, so it may be due to that.

open relic
#

Switching to compatibility does seem to fix that

#

Any way for me to find the true cause of it? I don't really want to use lower graphics quality

#

Or at least a direction I can look?

fading tinsel
#

I don't think HTML is compatible with Vulkan, so there's not much that can be done atm.

#

Maybe they'll figure out a way to emulate the advanced features in OpenGL, but until then.

open relic
#

I don't really care for the HTML export, it was just an example for me to show the shadow problem I'm having on the windows export

fading tinsel
#

ooh, i missread. I understood that your issue was on the HTML side.

That is odd, i think you can force a renderer in Project > Settings

#

If your PC can render Forward, it should be selecting that by default, but it seems to be goofin a bit.

open relic
#

Yeah, I can force the Windows to use compatibility, but I didn't want to change the render engine, instead actually fixing the issue on the vulkan one

fading tinsel
#

Wait, so the issue only appears in Forward?

open relic
#

Yep

fading tinsel
#

Aaah, right.
Some Forward features simply do nothing in Compatibility mode, so a Forward feature is being used that is messing with shadows, but goes unused in Compatibility.

I think these are set on your WorldEnvironment node or the Viewport.
I can't run Forward myself, so i have no idea which one could be doing it.

#

Maybe HDR?

open relic
#

Yep, it seems it was caused by a WorldEnvironment

#

At least I deleted it from the scene and it kinda fixed it