0 votes

LightOccluder2d resized in the TileMap-Scene seem to be always full sized, when tile ist used in another scene.
Here my TileMap Settings:
Scaling off:
The LightOccluder2D is scaled 1,1 the OccluderPolygon ist custom made just for that one Tile.
Scaling off
Scaling on:
The LightOccluder2D object is scaled down to fit the part of the Tile that i want to occlude light. The OccluderPolygon is reused many times.
Scaling on
And here the visible effects:
Scaling off:
The shadow is cast as expected. Only the part of the Tile cast the shadow.
Scaling off
Scaling on:
The shadow ist cast by the full tile, event though i resized the LightOccluder2D so it does not block the whole tile.
Scaling on

Hence my question: Is this a bug? Or am I doing something wrong? If so how to fix it?

asked Feb 28, 2018 in Engine by Phil_Meyers (12 points)

Please log in or register to answer this question.

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.