- Home /
Lighting doesn't work properly in WebGL build
So I have a 2d game where a player walks around the level (top view) with a flashlight in front of him. Everything works fine in the editor, however whenever I build it for WebGL and test it in my browser, one room only one, has a problem with lighting, and as I walk in different parts of the room lighting changes in a weird way, and the floor is blinking in the first half of the room, as well as the flashlight is barely visible (sometimes not at all).
Here's how it looks in the editor and is supposed to look like:
And here's a few screenshots from the web build:
P.S. Everything works fine in a standalone build.
Also there seems to be no problem when I disable the 2 lights (the whole room works fine), these are the lights (the ones that look like from the windows).
Your answer
Follow this Question
Related Questions
WebGl build throw numbers (maybe assembly pointers) 0 Answers
WebGl : lights does not working well 1 Answer
WebGL shadows problem 1 Answer
Distribute terrain in zones 3 Answers
WebGl: RuntimeError: indirect call signature mismatch 0 Answers