+4 votes

Looking for a way to 'smooth out' light effects i a 2d isometric map.
I'm using the shader and settings from the isometric 2d lighting -demo, but with 64x32 tiles instead of the 94x43 used in the demo.
This is what I end up with:
enter image description here
Lowering the normal map's opacity makes things smoother but will also mess up the light effect (e.g. SW facing walls will go dark): enter image description here No light2d setting seems to make any difference.

What is failing here?

in Engine by (46 points)
edited by

1 Answer

+2 votes

Solved it - kind of.
It turned out, I was trying to use different colours where I should have been applying different levels of opacity to the normal map.

An important point is that the example shader is using opacity to mark a surface's 'angle', i.e. you need to apply it properly or your walls etc. will not reflect light correctly.

by (46 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.