Link to .capx file (required! If link is blocked remove the http and www parts):
bumpmap with tilemaps.capx
Steps to reproduce:
1. Move mouse around over tilemaps on the left and sprites on the right
2.
3.
Observed result:
No idea what's going on here :D
Comparing to sprites, bumpmapping effects acts like crazy on tilemaps and Tiled Background.
First of all Bumpmapping acts different on these object having various size and position.
and second - more important, bumpmapping is inverted on Y axis - but only with Y position. "Illumination" follows mouse properly.
I mean if you follow mouse from bottom of tilemap in up direction you can see that edges of bricks on texture are brighter - but actual light comes from upper direction. Same opposite moving mouse top to bottom. Upper edge of bricks is brighter while light comes from down.
Y axis on bumpmapping texture is set correctly, because I've been testing it with sprites at first and then moved to Tiled Background and Tilemap.
Expected result:
Bumpmapping working exactly the same way on all objects.
Browsers affected:
Chrome: yes
Firefox: -
Internet Explorer: yes
Operating system & service pack:
Win 7 64bit sp1
Construct 2 version:
r161