{"id":13783755,"url":"https://github.com/pema99/glsl2hlsl","last_synced_at":"2025-04-06T10:13:21.820Z","repository":{"id":44803110,"uuid":"375208453","full_name":"pema99/glsl2hlsl","owner":"pema99","description":"Shadertoy to Unity shader converter","archived":false,"fork":false,"pushed_at":"2024-12-14T22:58:56.000Z","size":169,"stargazers_count":95,"open_issues_count":3,"forks_count":13,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-03-30T09:07:31.187Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pema99.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2021-06-09T02:59:42.000Z","updated_at":"2025-03-24T08:25:03.000Z","dependencies_parsed_at":"2024-01-06T23:59:54.526Z","dependency_job_id":"641199fa-140c-412a-97fe-c6d65813cf34","html_url":"https://github.com/pema99/glsl2hlsl","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pema99%2Fglsl2hlsl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pema99%2Fglsl2hlsl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pema99%2Fglsl2hlsl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pema99%2Fglsl2hlsl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pema99","download_url":"https://codeload.github.com/pema99/glsl2hlsl/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247464222,"owners_count":20942970,"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-08-03T19:00:30.140Z","updated_at":"2025-04-06T10:13:21.803Z","avatar_url":"https://github.com/pema99.png","language":"Rust","funding_links":[],"categories":["Tutorials"],"sub_categories":["Shaders"],"readme":"# [Online demo here (pema99.github.io/glsl2hlsl)](https://pema99.github.io/glsl2hlsl)\n\n# glsl2hlsl\nSlightly cursed WIP ShaderToy to Unity (ShaderLab) transpiler.\n\nSorry if the code gives you an aneurism.\n\n# Features\n- Converts a fairly decent chunk of shadertoy shaders to usable unity shaders\n- Can attempt to automatically find and extract properties from the shader and put then in the inspector\n- Can attempt to automatically make raymarched/raytraced shaders 3D\n- Can download shaders directly from the shadertoy API given a link\n- Synthesizes a usable unity material and .meta file when using download feature\n\n# Some cool shaders to try it on\n[Fractal land by Kali](https://www.shadertoy.com/view/XsBXWt)\n\n[Protean clouds by IQ](https://www.shadertoy.com/view/3l23Rh)\n\n[Fractal pyramid by bradjamesgrant](https://www.shadertoy.com/view/tsXBzS)\n\n[Phantom star by kasari39](https://www.shadertoy.com/view/ttKGDt)\n\n# To do\n- Better support for preprocessor directives in any context\n- Multiline macro support\n- Implement various missing sampler-related functions such as textureSize, textureLodOffset etc.\n- A few properties defined by shadertoy (iDate, iChannelResolution...) are missing\n- Refactor\n\n# Build\n`cargo build`\n\n# Usage\n`glsl2hlsl \u003cfileToConvert\u003e`\n\nOr just use the website :P\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpema99%2Fglsl2hlsl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpema99%2Fglsl2hlsl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpema99%2Fglsl2hlsl/lists"}