{"id":13783688,"url":"https://github.com/pavelkouril/unity-lowpoly-shader","last_synced_at":"2025-04-16T05:56:16.316Z","repository":{"id":76159258,"uuid":"73866549","full_name":"pavelkouril/unity-lowpoly-shader","owner":"pavelkouril","description":"Unity Shader for mesh rendering in lowpoly style","archived":false,"fork":false,"pushed_at":"2017-04-20T17:23:30.000Z","size":335,"stargazers_count":124,"open_issues_count":0,"forks_count":18,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-03-29T05:05:07.067Z","etag":null,"topics":["lowpoly","shader","unity3d"],"latest_commit_sha":null,"homepage":null,"language":"GLSL","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/pavelkouril.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}},"created_at":"2016-11-16T00:06:16.000Z","updated_at":"2025-03-23T14:33:48.000Z","dependencies_parsed_at":"2024-01-06T23:59:29.003Z","dependency_job_id":null,"html_url":"https://github.com/pavelkouril/unity-lowpoly-shader","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/pavelkouril%2Funity-lowpoly-shader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pavelkouril%2Funity-lowpoly-shader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pavelkouril%2Funity-lowpoly-shader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pavelkouril%2Funity-lowpoly-shader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pavelkouril","download_url":"https://codeload.github.com/pavelkouril/unity-lowpoly-shader/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249205605,"owners_count":21229958,"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":["lowpoly","shader","unity3d"],"created_at":"2024-08-03T19:00:28.521Z","updated_at":"2025-04-16T05:56:16.297Z","avatar_url":"https://github.com/pavelkouril.png","language":"GLSL","funding_links":[],"categories":["Tutorials","Low Poly","Unity VR Plugin:"],"sub_categories":["Shaders","Unity Assets for VR:"],"readme":"# Unity Low-poly Shader\n\nThis shader is a simple way to render your smooth meshes in the low poly, flat shaded style.\n\n![Before X After comparison](http://i.imgur.com/8blLN5t.png)\n\n## Usage\n\nTo use it, just change the shader of a material to `PavelKouril/LowPoly Shader\\LowPoly`. The shader takes the mesh and changes the texture coordinates and normals in geometry shader; the texture coordinates are changed to the center of the triangle, and for normals, face normals are calculated.\n\nHOWEVER, there are some limitations:\n\n- Sometimes, the lightning/shadows seems to be kinda off. **If you find a reproducible case where the shader is acting funny, please submit an issue.**\n- It works for terrain, but the results are sometimes looking subpar. This is due to the way the Unity terrain works. A separate set of shaders for terrain would be probably needed.\n- If you are unlucky, the conversion of the texture coordinates will result in a badly looking face. I probably can't do anything with this, sorry. :(\n\n## Requirements\n\n- Unity 5.6 (it also should work on 5.4 and 5.5, but without any guarantees)\n- Geometry Shaders support on your hardware (this means D3D10+ GPU)\n\n## Contributing\n\nContributing is definitely welcome! All you need to do is send a pull request with your patch. :)\n\nIf you just have some ideas what the shader is lacking (or find a bug!), feel free just to create an issue with detailed description or buggy use-case of the shader (ideally include pictures and steps to recreate). However, please, do not use issues for support questions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpavelkouril%2Funity-lowpoly-shader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpavelkouril%2Funity-lowpoly-shader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpavelkouril%2Funity-lowpoly-shader/lists"}