All Projects → beinteractive → Lwrpshaders

beinteractive / Lwrpshaders

A collection of high customizable unlit shaders for Lightweight Render Pipeline

Projects that are alternatives of or similar to Lwrpshaders

Temporalreprojectionexample
Temporal reprojection example for Unity
Stars: ✭ 82 (-34.4%)
Mutual labels:  unity, unity3d, graphics, shader, shaderlab
Unitypcss
Nvidia's PCSS soft shadow algorithm implemented in Unity
Stars: ✭ 533 (+326.4%)
Mutual labels:  unity, unity3d, graphics, shader, shaderlab
Testbedhdrp
Testbed project for Unity HDRP (High Definition Render Pipeline)
Stars: ✭ 859 (+587.2%)
Mutual labels:  unity, unity3d, graphics, shader, shaderlab
Nnao
Neural Network Ambien Occlusion based on http://theorangeduck.com/page/neural-network-ambient-occlusion
Stars: ✭ 57 (-54.4%)
Mutual labels:  unity, unity3d, graphics, shader, shaderlab
Depthinverseprojection
An example showing how to inverse-project depth samples into the view/world space in Unity.
Stars: ✭ 296 (+136.8%)
Mutual labels:  unity, unity3d, graphics, shader, shaderlab
Unityurpunlitscreenspacedecalshader
Unity unlit screen space decal shader for URP. Just create a new material using this shader, then assign it to a new unity cube GameObject = DONE, now you have unlit decal working in URP
Stars: ✭ 455 (+264%)
Mutual labels:  unity, unity3d, graphics, shader, shaderlab
Packedrgbmshader
32-bit packed color format with RGBM encoding for shader use
Stars: ✭ 39 (-68.8%)
Mutual labels:  unity, unity3d, graphics, shader, shaderlab
Drawmeshwithmotionvectors
An example showing how to generate per-object motion vectors when using DrawMesh.
Stars: ✭ 65 (-48%)
Mutual labels:  unity, unity3d, graphics, shader
Noiseshader
Noise shader library for Unity
Stars: ✭ 616 (+392.8%)
Mutual labels:  unity, unity3d, graphics, 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 (+9258.4%)
Mutual labels:  unity, unity3d, graphics, shader
Kinobloom
Bloom effect for Unity
Stars: ✭ 704 (+463.2%)
Mutual labels:  unity, unity3d, graphics, shader
Swarm
An example of use of compute shaders and procedural instancing.
Stars: ✭ 547 (+337.6%)
Mutual labels:  unity, unity3d, graphics, shader
Kvantwig
Non-realistic hair simulation in Unity
Stars: ✭ 467 (+273.6%)
Mutual labels:  unity, unity3d, graphics, shader
Hologramshader
✏️ Test of an hologram material made in Unity.
Stars: ✭ 684 (+447.2%)
Mutual labels:  unity, unity3d, graphics, shader
X Postprocessing Library
Unity Post Processing Stack Library | Unity引擎的高品质后处理库
Stars: ✭ 1,079 (+763.2%)
Mutual labels:  unity, unity3d, shader, shaderlab
Texturepanner
This repository hosts a shader for Unity3D whose main goal is to facilitate the creation of neon-like signs, conveyor belts and basically whatever based on scrolling textures
Stars: ✭ 528 (+322.4%)
Mutual labels:  unity, unity3d, graphics, shader
Smo Shaders
A collection of shaders to replicate those used in Super Mario Odyssey's Snapshot Mode.
Stars: ✭ 97 (-22.4%)
Mutual labels:  unity, unity3d, graphics, shaderlab
Miniengineao
SSAO image effect from Microsoft MiniEngine, ported to Unity.
Stars: ✭ 448 (+258.4%)
Mutual labels:  unity, unity3d, graphics, shader
Pcx
Point cloud importer & renderer for Unity
Stars: ✭ 806 (+544.8%)
Mutual labels:  unity, unity3d, graphics, shader
Gpu Planetary Rendering
GPU atmosphertic scattering and planet generation in Unity 3D
Stars: ✭ 92 (-26.4%)
Mutual labels:  unity, unity3d, graphics, shader

Lightweight Render Pipeline Shaders

"Lightweight Render Pipeline Shaders" is a collection of shaders designed for Unity 2018 Lightweight Render Pipeline. It's especially useful for VFX and particles.

All shaders are fully customizable and GPU Instancing / GPU Instancing Particles friendly.

2018-04-04 14 09 07 2018-04-04 14 09 52

Available Shaders

  • Lightweight
    • Unlit
      • Color
      • Gradient
      • Texture
      • Texture and Color
    • Particles

Features

Basic Parameters

2018-04-04 14 18 37

This section contains shader specific parameters. Basically, color and texture.

Alpha Clip

2018-04-04 14 18 50

If you check Alpha Clip, alpha clipping is enabled. A pixel with alpha that is less than threshold will be discarded.

Surface

2018-04-04 14 19 01

You can choose one of the following surface types:

  • Opaque
  • Transparent
  • Premultiply
  • Additive
  • Multiply

and Src Blend, Dst Blend, Z Write and Premultiplied Alpha values will automatically be configured to appropriate settings.

If you choose Custom, you can change that values as you like.

Cull

2018-04-04 14 19 13

You can choose a cull mode from:

  • Off
  • Front
  • Back

Default is Back. Off is for double sided material.

Z Test

2018-04-04 14 19 24

You can choose which compare function will be used for Z Test.

GPU Instaincing

2018-04-04 14 19 39

If you check Enable GPU Instancing, a material is automatically configured for GPU Instancing. If you use same mesh and the material with MeshRenderer for rendering, draw call will be automatically instanced.

Also if you check Enable Per Instance Data, you can store per-instance Basic Parameters via MaterialPropertyBlock.

// Set random colors but keep GPU Instancing
foreach (var g in gameObjects)
{
  var property = new MaterialPropertyBlock();
  property.SetColor("_Color", Random.color);
  g.GetComponent<MeshRenderer>().SetProperty(property);
}

GPU Instancing Particle

All Particles shaders works correctly with GPU Instaincing in Particle System.

To enable GPU Instaincing in Particle System, use Mesh render mode and check Enable GPU Instancing in Render section of Particle System inspector.

Minimum

All features are implemented by shader variants. After compilation, code of non-used feature is efficiently striped!

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