{"action":"created","issue":{"url":"https://api.github.com/repos/godotengine/godot/issues/11583","repository_url":"https://api.github.com/repos/godotengine/godot","labels_url":"https://api.github.com/repos/godotengine/godot/issues/11583/labels{/name}","comments_url":"https://api.github.com/repos/godotengine/godot/issues/11583/comments","events_url":"https://api.github.com/repos/godotengine/godot/issues/11583/events","html_url":"https://github.com/godotengine/godot/issues/11583","id":260389646,"number":11583,"title":"Unwanted transparency in Tilemap","user":{"login":"andrewstrauch","id":732367,"avatar_url":"https://avatars2.githubusercontent.com/u/732367?v=4","gravatar_id":"","url":"https://api.github.com/users/andrewstrauch","html_url":"https://github.com/andrewstrauch","followers_url":"https://api.github.com/users/andrewstrauch/followers","following_url":"https://api.github.com/users/andrewstrauch/following{/other_user}","gists_url":"https://api.github.com/users/andrewstrauch/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewstrauch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewstrauch/subscriptions","organizations_url":"https://api.github.com/users/andrewstrauch/orgs","repos_url":"https://api.github.com/users/andrewstrauch/repos","events_url":"https://api.github.com/users/andrewstrauch/events{/privacy}","received_events_url":"https://api.github.com/users/andrewstrauch/received_events","type":"User","site_admin":false},"labels":[{"id":279097162,"url":"https://api.github.com/repos/godotengine/godot/labels/discussion","name":"discussion","color":"ee77ee","default":false},{"id":73330066,"url":"https://api.github.com/repos/godotengine/godot/labels/enhancement","name":"enhancement","color":"44bbff","default":true},{"id":279098219,"url":"https://api.github.com/repos/godotengine/godot/labels/topic:editor","name":"topic:editor","color":"ffdd44","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-09-25T19:32:12Z","updated_at":"2017-10-02T21:18:13Z","closed_at":null,"author_association":"NONE","body":"**Windows. Godot version 2.1.4**\r\n\r\n\r\n**Issue description:**\r\nUnwanted transparency\r\n\r\n\r\n**Steps to reproduce:**\r\nAccidentally imported tiles with around 95% alpha value from Inkscape. Noticed slight transparency immediately in the tilemap, observed that I could faintly see the furthest background objects though the tiles.\r\n\r\nI fixed the transparency issue and re-imported all the tiles. Still didn't fix anything in Godot, even though the transparency was gone in the actual tile assets. Made sure Opacity and Self Opacity of tilemap were set to 1. Tried nuking the tilemap and starting from scratch, duplicating the node, nothing worked. Tried using completely new tileset.res- this did work. However, any new tilesets built from the old tiles, even though they were fixed, did not work.\r\n\r\nFinally, just for kicks, I tried setting the Opacity and Self-Opacity to 1.1, which reverted back to 1.0 correctly in the editor, and rebuilt my game. It worked, and the transparency is no longer there.\r\n\r\nSo the issue appears to be the tiles themselves, or the tileset.res itself. Is it possible it retains some sort of metadata about transparency and hangs onto it?\r\n\r\nAlso unsure about why setting the opacity to over 1.0 fixed it.\r\n\r\nThis might not be reproducible, but figured I'd post it anyway in case someone else ran into it.\r\n\r\nCheers"},"comment":{"url":"https://api.github.com/repos/godotengine/godot/issues/comments/333668193","html_url":"https://github.com/godotengine/godot/issues/11583#issuecomment-333668193","issue_url":"https://api.github.com/repos/godotengine/godot/issues/11583","id":333668193,"user":{"login":"andrewstrauch","id":732367,"avatar_url":"https://avatars2.githubusercontent.com/u/732367?v=4","gravatar_id":"","url":"https://api.github.com/users/andrewstrauch","html_url":"https://github.com/andrewstrauch","followers_url":"https://api.github.com/users/andrewstrauch/followers","following_url":"https://api.github.com/users/andrewstrauch/following{/other_user}","gists_url":"https://api.github.com/users/andrewstrauch/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewstrauch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewstrauch/subscriptions","organizations_url":"https://api.github.com/users/andrewstrauch/orgs","repos_url":"https://api.github.com/users/andrewstrauch/repos","events_url":"https://api.github.com/users/andrewstrauch/events{/privacy}","received_events_url":"https://api.github.com/users/andrewstrauch/received_events","type":"User","site_admin":false},"created_at":"2017-10-02T21:18:13Z","updated_at":"2017-10-02T21:18:13Z","author_association":"NONE","body":"In my Tileset.tscn file, all of my tiles' \"texture\" property say \"ExtResource\", and at the top of the file each one has for example:\r\n\r\n`[ext_resource path=\"res://Scenes/Z1TS1Top.png\" type=\"Texture\" id=1]`\r\n\r\nIn multiple levels, for example, the tileset is defined at the top of the .tscn file as:\r\n\r\n`[ext_resource path=\"res://Scenes/Tileset.res\" type=\"TileSet\" id=10]`\r\n\r\nIn each TileMap object in the .tscn file, the tileset points to a resource such as:\r\n\r\n`tile_set = ExtResource( 4 )`\r\n\r\n"}}
{"actor":{"display_login":"andrewstrauch"}}