UnityRaymarchingSample - Unity3D Raymarching Simple Implementation.

  •        8

This work is licensed under a Creative Commons Attribution 4.0 International License.




Related Projects

UnitySpriteShaders - An Uber Shader for rendering Sprites in Unity.

  •    HLSL

An Uber Shader for Unity specialised in rendering Alpha Blended objects like sprites. It has a ton of features and a nifty Shader GUI meaning its very easy to use. It's also modular so features you don't use don't impact performance at all. Because it supports all its feaures in a one pass Vertex lit mode it can be used on skeleon based animation or sprites with submeshes (eg Spine animations) whilst preserving soft alpha edges, this includeds per pixel effects like normal mapping and specular. Above shows single pass normal mapping, specular, emission and rim lighting on Unity's example robot sprite.

ShaderGraph - Unity ShaderGraph project

  •    CSharp

A Shader Graph enables you to build shaders visually. Instead of hand writing code you create and connect nodes in a graph network. The graph framework gives instant feedback on the changes, and it’s simple enough that new users can become involved in shader creation. This repository is under active development. Everything is subject to change. The master branch is our current development branch and may not work on the latest publicly available version of Unity. Unless you intend to modify Shader Graph or want to try out the very latest and unsupported features, we recommend that you acquire Shader Graph through the Unity Package Manager.

HologramShader - :pencil2: Test of an hologram material made in Unity.

  •    CSharp

Hologram is a simple shader made in Unity. This package is composed of a shader and a custom material editor to tweak the effect. MIT, see LICENSE for details.

glslify - :sparkles: A node.js-style module system for GLSL!

  •    Javascript

It forms one of the core components of the stack.gl ecosystem, allowing you to install GLSL modules from npm and use them in your shaders. This makes it trivial to piece together different effects and techniques from the community, including but certainly not limited to fog, noise, film grain, raymarching helpers, easing functions and lighting models. A full list can be found on the stack.gl packages list under the "Shader Components" category.

KvantGrass - Animating grass shader for Unity

  •    CSharp

KvantGrass is an animating grass shader for Unity. Don't expect too much! This shader might be useless for your production because of its lack of versatility. Using this just for an experiment or prototyping is better idea.

ShaderGraph_ExampleLibrary - A library of Shaders created using Unity 2018.1's Shader Graph.

  •    ShaderLab

This project is a library of different custom shaders created using Unity 2018.1's Shader Graph feature. All of the shaders are compatible for the Lightweight Scriptable Render Pipeline. These Shader Graphs are provided as-is; so your mileage may vary! You are more than welcome to modify/change/extract/use any of the examples.

Swarm - An example of use of compute shaders and procedural instancing.

  •    CSharp

Swarm is an experimental project that tries to find an interesting way of utilizing the procedural instancing feature that was newly introduced in Unity 5.6. There are two types of renderers in Swarm.

Unity_Shaders_Book - :book: 书籍《Unity Shader入门精要》源代码

  •    ShaderLab

:book: 书籍《Unity Shader入门精要》源代码

KinoBloom - Bloom effect for Unity

  •    CSharp

Bloom is an image effect for Unity that adds bloom/veiling glare effect to rendered frames. Unity 5.5 or later versions.

ScriptableRenderPipeline - Scriptable Render Pipeline

  •    CSharp

The Scriptable Render Pipeline (SRP) is a new Unity feature in active development. SRP has been designed to give artists and developers the tools they need to create modern, high-fidelity graphics in Unity. Including a built-in Lightweight Render Pipeline for use on all platforms, and a High Definition Render Pipeline (HDRP) for use on compute shader compatible platforms. We hope to release both of these versions in beta with Unity version 2018.1. We are committed to an open and transparent development process, and as such you are welcome to take a look around if you are really curious, but we cannot provide support for this feature yet.

TestbedHDRP - Testbed project for Unity HDRP (High Definition Render Pipeline)

  •    ShaderLab

This is a testbed project for Unity HDRP (High Definition Render Pipeline). It contains several scenes that aim to try out the new functionalities of HDRP. Please note that they're not necessarily useful nor showing right use of the functionalities. I'm just trying to explore the possibilities of the new features. This repository includes some submodules. Before opening the project with Unity, not only the repository itself but also these submodules have to be synced up.

KinoMotion - Motion blur post-processing effect for Unity

  •    CSharp

Motion is a post-processing effect that simulates motion blur caused by object/camera movement. Rendering motion vector texture requires the RGHalf texture format. It's supported on most of the desktop/console platform, but rarely supported on the mobile devices.

unity-dither4444 - AssetPostProcessor for making high-quality 16-bit color textures in Unity.

  •    CSharp

This example shows how to make a high-quality 16-bit color texture in Unity. Unity supports 16-bit color as a texture color format, however it introduces significant color banding.

FPSSample - A first person multiplayer shooter example project in Unity

  •    CSharp

This is a fully functional, first person multiplayer shooter game made in Unity and with full source and assets. It is in active development by a small team from Unity Technologies. Our goals are to test and showcase new features in Unity and to be of use for teams who can bootstrap on top of this, extract useful bits and tools or simply learn from and get inspired by what is in the project. Visit our landing page for more high level information about the project. Or reach out in the forum.

Skinner - Special Effects with Skinned Mesh in Unity

  •    CSharp

Skinner is a collection of special effects that use vertices of an animating skinned mesh as emitting points. It uses a special replacement shader to convert vertex positions into GPU-friendly data, and thus it avoids spending extra memory and CPU time for handling them (uses GPU resources instead). Skinner provides some special asset types to preprocess relevant data.


  •    CSharp

A prototype of a C# math library providing vector types and math functions with a shader like syntax. Used by the burst compiler to compile C#/IL to highly efficient native code. The main goal of this library is to provide a friendly Math API familiar to SIMD and graphic/shaders developers, using the well known float4, float3 types...etc. with all intrinsics functions provided by a static class math that can be imported easily into your C# program with using static Unity.Mathematics.math.

Lowpoly-Water-Unity - Low poly water with edge/shore blend

  •    GLSL

A lowpoly water shader similar to the awesome water in Monument Valley. There is a bug in the current version that turns the water completely black if the camera is not rendereing a skybox as background.

DiligentEngine - Master repository for Diligent Engine project

  •    C++

Diligent Engine is a lightweight cross-platform abstraction layer between the application and the platform-specific graphics API designed to take advantages of next-generation APIs such as Direct3D12 and Vulkan, while providing support for older platforms via Direct3D11, OpenGL and OpenGLES. Diligent Engine exposes common front-end for all supported platforms and provides interoperability with underlying native API. Shader source code converter allows HLSL shaders to be used on all supported platforms and rendering backends. The engine is intended to be used as a graphics subsystem in a game engine or any other 3D application, and supports integration with Unity. Diligent Engine is distributed under Apache 2.0 license and is free to use. Alternatively, you can get master repository fisrt, and then individually clone all submodules into the engine's root folder.