{"id":13458485,"url":"https://github.com/kan6868/solar2D-shader","last_synced_at":"2025-03-24T15:31:27.092Z","repository":{"id":60129844,"uuid":"541117725","full_name":"kan6868/Solar2D-Shader","owner":"kan6868","description":null,"archived":false,"fork":false,"pushed_at":"2024-09-05T23:22:22.000Z","size":821,"stargazers_count":14,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-29T03:33:08.344Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kan6868.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-09-25T09:23:45.000Z","updated_at":"2024-09-05T23:22:26.000Z","dependencies_parsed_at":"2024-05-04T07:22:54.362Z","dependency_job_id":"d95b21f0-e885-4c64-9235-429d4ab1f0a0","html_url":"https://github.com/kan6868/Solar2D-Shader","commit_stats":null,"previous_names":["kan6868/solar2d-shader"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kan6868%2FSolar2D-Shader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kan6868%2FSolar2D-Shader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kan6868%2FSolar2D-Shader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kan6868%2FSolar2D-Shader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kan6868","download_url":"https://codeload.github.com/kan6868/Solar2D-Shader/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245298048,"owners_count":20592526,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T09:00:53.030Z","updated_at":"2025-03-24T15:31:22.077Z","avatar_url":"https://github.com/kan6868.png","language":"Lua","funding_links":["https://www.patreon.com/kandev","https://www.ko-fi.com/kandev"],"categories":["Post Processing"],"sub_categories":[],"readme":"# Shader Effect Of Solar2D\n### The repository that synthesizes [Solar2D](https://solar2d.com) shaders made or collected by Kan.\n***Note:***\nBecause I don't use Ios, macOS, Linux and Nintendo switch devices, I can't test shaders on these platforms. If you use my shader on these platforms and it works fine then please let me know. \u003cbr\u003e\nThanks you very much!\n\n\u003cbr\u003e\n\n**- Symbol summary:**\n\u003cbr\u003e\n| Symbol    | Describe     |\n|-----------|--------------|\n|\u0026#x2611;   | Supported    |\n|\u0026#x2610;   | Not test yet |\n|\u0026#x2612;   | Unsupported  |\n\n**- List of shaders:**\n\u003cbr\u003e\n- [Sway](#sway-shader)\n- [Burn](#burn-shader)\n- [CRT](#crt-shader)\n\u003cbr\u003e\n\n## Sway Shader\n\n![Sway](https://i.imgur.com/b8xv2Ps.gif)\n\u003cbr\u003e\n*- Lua code:*\n```Lua\n   require \"sway\"\n   object.fill.effect = \"filter.custom.sway\"\n   object.fill.effect.offset = 0.0 -- make different\n   object.fill.effect.heightOffset = 0.6 -- The height where the wind begins to move\n   object.fill.effect.distortion = 0.5 -- The strength of geometry distortion.\n```\n*- Support platforms:*\n\n| OS/Platform     |Supported|\n| -------------   | ------ |\n| Android         |\u0026#x2611;|\n| Ios             |\u0026#x2611;|\n| Window          |\u0026#x2611;|\n| Mac             |\u0026#x2611;|\n| Linux           |\u0026#x2610;|\n| HTML5           |\u0026#x2611;|\n| Nintendo Switch |\u0026#x2611;|\n\n\n## Burn Shader\n\n![Burn](https://i.imgur.com/Z0NW4tN.gif)\n\u003cbr\u003e\n\n- For mobile devices need to add 1 texture noise.\n\n*- Lua code:*\n```Lua\n   --Mobile version\n   object.fill = {\n      type = \"composite\",\n      paint1 = { type = \"image\", filename = \"image.png\" },\n      paint2 = { type = \"image\", filename = \"noise.jpg\" }\n   }\n\n   require \"burn_mobile\"\n\n   object.fill.effect = \"filter.custom.burn\"\n   object.fill.effect.startTime = system.getTimer() / 1000\n   object.fill.effect.duration = 2.0\n```\n\n\u003cbr\u003e\n\n```Lua\n   --Other version (not need noise texture)\n   require \"burn\"\n   object.fill.effect = \"filter.custom.burn\"\n   object.fill.effect.startTime = system.getTimer()/1000\n   object.fill.effect.duration = 2.0\n```\n*- Support platforms:*\n\n| OS/Platform     |Supported|\n| -------------   | ------ |\n| Android         |\u0026#x2611;|\n| Ios             |\u0026#x2611;|\n| Window          |\u0026#x2611;|\n| Mac             |\u0026#x2611;|\n| Linux           |\u0026#x2610;|\n| HTML5           |\u0026#x2612;|\n| Nintendo Switch |\u0026#x2611;|\n\n## CRT Shader\n\n![CRT](https://user-images.githubusercontent.com/70838508/215328995-63515cca-4582-4ebf-8b31-c1d14330e63b.gif)\n\n\u003cbr\u003e\n\n```Lua\n        require \"crt\"\n        object.fill.effect = \"filter.custom.crt\"\n```\n*- Support platforms:*\n\n| OS/Platform     |Supported|\n| -------------   | ------ |\n| Android         |\u0026#x2611;|\n| Ios             |\u0026#x2611;|\n| Window          |\u0026#x2611;|\n| Mac             |\u0026#x2611;|\n| Linux           |\u0026#x2610;|\n| HTML5           |\u0026#x2612;|\n| Nintendo Switch |\u0026#x2611;|\n\nRef: https://godotshaders.com/shader/vhs-and-crt-monitor-effect/;\n\n## Sponsor this project\n- Support me via [Patreon](https://www.patreon.com/kandev).\n- Gift me a coffee cup: [Kofi](https://www.ko-fi.com/kandev)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkan6868%2Fsolar2D-shader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkan6868%2Fsolar2D-shader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkan6868%2Fsolar2D-shader/lists"}