{"action":"created","issue":{"url":"https://api.github.com/repos/godotengine/godot/issues/13575","repository_url":"https://api.github.com/repos/godotengine/godot","labels_url":"https://api.github.com/repos/godotengine/godot/issues/13575/labels{/name}","comments_url":"https://api.github.com/repos/godotengine/godot/issues/13575/comments","events_url":"https://api.github.com/repos/godotengine/godot/issues/13575/events","html_url":"https://github.com/godotengine/godot/issues/13575","id":278622959,"number":13575,"title":"PSSM artifacts with directional lights","user":{"login":"matrem","id":9594859,"avatar_url":"https://avatars2.githubusercontent.com/u/9594859?v=4","gravatar_id":"","url":"https://api.github.com/users/matrem","html_url":"https://github.com/matrem","followers_url":"https://api.github.com/users/matrem/followers","following_url":"https://api.github.com/users/matrem/following{/other_user}","gists_url":"https://api.github.com/users/matrem/gists{/gist_id}","starred_url":"https://api.github.com/users/matrem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matrem/subscriptions","organizations_url":"https://api.github.com/users/matrem/orgs","repos_url":"https://api.github.com/users/matrem/repos","events_url":"https://api.github.com/users/matrem/events{/privacy}","received_events_url":"https://api.github.com/users/matrem/received_events","type":"User","site_admin":false},"labels":[{"id":73330064,"url":"https://api.github.com/repos/godotengine/godot/labels/bug","name":"bug","color":"ff2222","default":true},{"id":279128044,"url":"https://api.github.com/repos/godotengine/godot/labels/confirmed","name":"confirmed","color":"66dd66","default":false},{"id":279098111,"url":"https://api.github.com/repos/godotengine/godot/labels/topic:rendering","name":"topic:rendering","color":"ffdd44","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2017-12-01T23:05:44Z","updated_at":"2018-05-28T03:38:13Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"**Operating system or device, Godot version, GPU Model and driver (if graphics related):**\r\ngodot master branch\r\n\r\n**Issue description:**\r\n<!-- What happened, and what was expected. -->\r\nIt seems to me pssm and/or pcf need a little more work to be really usable.\r\n\r\nFor a simple scene with a cube and sphere, the default settings are not great (gap due to bias) but even after many tweaking I would say it's not ok : \r\n- split incoherence\r\n- jaggy resolution (the settings for resolution in project settings do nothing)\r\n\r\n\r\n**Steps to reproduce:**\r\nHere my little scene with results (which are very different in every viewports) :\r\n![screenshot from 2017-12-01 23-42-06](https://user-images.githubusercontent.com/9594859/33507285-3bd678ac-d6f4-11e7-9ba5-3f754e1fb184.png)\r\n\r\nHere a comparison with unity (with no tweaking) :\r\n![screenshot from 2017-12-01 23-58-02](https://user-images.githubusercontent.com/9594859/33507307-558b9624-d6f4-11e7-9c1d-7160c0cb9caf.png)\r\n\r\n\r\n**Link to minimal example project:**\r\n<!-- Optional but very welcome. You can drag and drop a zip archive to upload it. -->\r\n"},"comment":{"url":"https://api.github.com/repos/godotengine/godot/issues/comments/392410699","html_url":"https://github.com/godotengine/godot/issues/13575#issuecomment-392410699","issue_url":"https://api.github.com/repos/godotengine/godot/issues/13575","id":392410699,"user":{"login":"cosmicchipsocket","id":34800072,"avatar_url":"https://avatars2.githubusercontent.com/u/34800072?v=4","gravatar_id":"","url":"https://api.github.com/users/cosmicchipsocket","html_url":"https://github.com/cosmicchipsocket","followers_url":"https://api.github.com/users/cosmicchipsocket/followers","following_url":"https://api.github.com/users/cosmicchipsocket/following{/other_user}","gists_url":"https://api.github.com/users/cosmicchipsocket/gists{/gist_id}","starred_url":"https://api.github.com/users/cosmicchipsocket/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cosmicchipsocket/subscriptions","organizations_url":"https://api.github.com/users/cosmicchipsocket/orgs","repos_url":"https://api.github.com/users/cosmicchipsocket/repos","events_url":"https://api.github.com/users/cosmicchipsocket/events{/privacy}","received_events_url":"https://api.github.com/users/cosmicchipsocket/received_events","type":"User","site_admin":false},"created_at":"2018-05-28T03:38:13Z","updated_at":"2018-05-28T03:38:13Z","author_association":"NONE","body":"Poking at this some more, it seems like the max shadow distance is what determines the resolution and precision of the shadows (combined with the shadow texture size selected in the project settings). This would explain why enlarging the geometry made the shadows more precise.\r\n\r\nI wonder how the distance defaults compare to Unity?"}}
{"actor":{"display_login":"cosmicchipsocket"}}