All Projects → pavelkouril → Unity Lowpoly Shader

pavelkouril / Unity Lowpoly Shader

Licence: mit
Unity Shader for mesh rendering in lowpoly style

Projects that are alternatives of or similar to Unity Lowpoly Shader

3d Game Shaders For Beginners
🎮 A step-by-step guide to implementing SSAO, depth of field, lighting, normal mapping, and more for your 3D game.
Stars: ✭ 11,698 (+9984.48%)
Mutual labels:  unity3d, glsl, shader
Shaderconductor
ShaderConductor is a tool designed for cross-compiling HLSL to other shading languages
Stars: ✭ 1,146 (+887.93%)
Mutual labels:  glsl, shader
Glsl Worley
Worley noise implementation for WebGL shaders
Stars: ✭ 66 (-43.1%)
Mutual labels:  glsl, shader
Temporalreprojectionexample
Temporal reprojection example for Unity
Stars: ✭ 82 (-29.31%)
Mutual labels:  unity3d, shader
Jl S Unity Blend Modes
👾 Collection of Unity shaders that support blend modes like photoshop layer style (Darken, Multiply, Linear Burn, etc)
Stars: ✭ 62 (-46.55%)
Mutual labels:  unity3d, shader
Drawmeshwithmotionvectors
An example showing how to generate per-object motion vectors when using DrawMesh.
Stars: ✭ 65 (-43.97%)
Mutual labels:  unity3d, shader
Godot Particle Dof
Bokeh-esque particle depth of field in Godot 3.0
Stars: ✭ 77 (-33.62%)
Mutual labels:  glsl, shader
X Postprocessing Library
Unity Post Processing Stack Library | Unity引擎的高品质后处理库
Stars: ✭ 1,079 (+830.17%)
Mutual labels:  unity3d, shader
Spriteglow
A sprite glow effect for Unity game engine
Stars: ✭ 1,287 (+1009.48%)
Mutual labels:  unity3d, shader
Sky Shader
☀️ WebGL sky and sun shader editor
Stars: ✭ 90 (-22.41%)
Mutual labels:  glsl, shader
Gpu Planetary Rendering
GPU atmosphertic scattering and planet generation in Unity 3D
Stars: ✭ 92 (-20.69%)
Mutual labels:  unity3d, shader
Nnao
Neural Network Ambien Occlusion based on http://theorangeduck.com/page/neural-network-ambient-occlusion
Stars: ✭ 57 (-50.86%)
Mutual labels:  unity3d, shader
Unityraymarching
Unity Raymarching Examples
Stars: ✭ 57 (-50.86%)
Mutual labels:  glsl, shader
Unlitclouds
A unity cloud shader, using vertex colors and tessellation for a simple stylized look.
Stars: ✭ 110 (-5.17%)
Mutual labels:  glsl, shader
Glsl Grid
Draws an antialiased grid along the X/Y/Z direction of a mesh.
Stars: ✭ 57 (-50.86%)
Mutual labels:  glsl, shader
Unitylibrary
📚 Library of all kind of scripts, snippets & shaders for Unity
Stars: ✭ 1,968 (+1596.55%)
Mutual labels:  unity3d, shader
Revealshader
Unity Shader experiment
Stars: ✭ 47 (-59.48%)
Mutual labels:  unity3d, shader
Shadergraph Custom Nodes
🔨 Collection of custom nodes for ShaderGraph.
Stars: ✭ 53 (-54.31%)
Mutual labels:  unity3d, shader
Adamplanereflection
Planar reflection effect from the Adam Interior Environment package.
Stars: ✭ 86 (-25.86%)
Mutual labels:  unity3d, shader
Three.meshline
Mesh replacement for THREE.Line
Stars: ✭ 1,644 (+1317.24%)
Mutual labels:  glsl, shader

Unity Low-poly Shader

This shader is a simple way to render your smooth meshes in the low poly, flat shaded style.

Before X After comparison

Usage

To 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.

HOWEVER, there are some limitations:

  • 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.
  • 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.
  • 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. :(

Requirements

  • Unity 5.6 (it also should work on 5.4 and 5.5, but without any guarantees)
  • Geometry Shaders support on your hardware (this means D3D10+ GPU)

Contributing

Contributing is definitely welcome! All you need to do is send a pull request with your patch. :)

If 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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].