It looks like you're new here. If you want to get involved, click one of these buttons!
So in my 3D project, I used “scene.fogEnabled = true” and I did near param, far param and fog color. But when I press play, it comes up saying that it failed to compile the shader, and not only that but there a ton of warnings and errors. Is this intentionally have I done something wrong in my code??
Thanks in advance
Comments
@Creator27 - bit more detail and possibly section of code might help.
@Bri_G, this is the code that I’m talking about:
@Creator27 Do you have code similar to this in your project. This causes the error. Why, I don’t know.
@dave1707, yes that’s exactly the code that I have. Is there anyway to fix this issue??
@Creator27 I don’t know why it’s happening. Maybe @Simeon knows what’s happening.
Here’s an example showing the error.