All Projects → gkjohnson → unity-clip-shader

gkjohnson / unity-clip-shader

Licence: MIT License
Unity shader and scripts for rendering solid clipped geometry

Programming Languages

C#
18002 projects
ShaderLab
938 projects
HLSL
714 projects

Projects that are alternatives of or similar to unity-clip-shader

Ssrt
Real-time indirect diffuse illuminaton using screen-space information for Unity.
Stars: ✭ 176 (+417.65%)
Mutual labels:  shaders, rendering
Renderman
Code and Slides for the NCCA Renderman lectures
Stars: ✭ 15 (-55.88%)
Mutual labels:  shaders, rendering
Glslviewer
Console-based GLSL Sandbox for 2D/3D shaders shaders
Stars: ✭ 2,834 (+8235.29%)
Mutual labels:  shaders, geometry
Glsltuto
GLSL shaders tutorial
Stars: ✭ 168 (+394.12%)
Mutual labels:  shaders, rendering
MoravaEngine
2D/3D graphics engine written in C++ language. It currently supports the following graphics APIs: OpenGL 3.3+, Vulkan 1.2, DirectX 11. Its current purpose is to experiment with various CG concepts and techniques.
Stars: ✭ 129 (+279.41%)
Mutual labels:  shaders, rendering
Tinykaboom
A brief computer graphics / rendering course
Stars: ✭ 2,077 (+6008.82%)
Mutual labels:  shaders, rendering
Simplerenderengine
Small C++14 render engine
Stars: ✭ 253 (+644.12%)
Mutual labels:  shaders, rendering
Phenomenon
⚡️ A fast 2kB low-level WebGL API.
Stars: ✭ 1,551 (+4461.76%)
Mutual labels:  shaders, rendering
surface splatting
OpenGL demo of a point rendering and texture filtering technique called Surface Splatting.
Stars: ✭ 125 (+267.65%)
Mutual labels:  shaders, rendering
Unity3DShaders
Simple shaders for Unity3D that I created for games, for a challenge or following tutorials.
Stars: ✭ 17 (-50%)
Mutual labels:  shaders, rendering
Threejs Sandbox
Set of experiments and extensions to THREE.js.
Stars: ✭ 163 (+379.41%)
Mutual labels:  shaders, geometry
Fake-Interior-Shader-for-GodotEngine
Interior Mapping shader for the Godot Game Engine 3.x that works with both GLES3 and GLES2.
Stars: ✭ 40 (+17.65%)
Mutual labels:  shaders, rendering
Tinyrenderer
A brief computer graphics / rendering course
Stars: ✭ 11,776 (+34535.29%)
Mutual labels:  shaders, rendering
Unity Dithered Transparency Shader
Unity material and shader for applying clipped, dithered transparency
Stars: ✭ 174 (+411.76%)
Mutual labels:  shaders, rendering
Gamemaniptutorial
A tutorial for manipulating the rendering of a game (generally to increase its quality) if you only have a binary available
Stars: ✭ 119 (+250%)
Mutual labels:  shaders, rendering
Yave
Yet Another Vulkan Engine
Stars: ✭ 211 (+520.59%)
Mutual labels:  shaders, rendering
Shaderworkshop
Interactive GLSL fragment shaders editor made with Qt
Stars: ✭ 43 (+26.47%)
Mutual labels:  shaders, rendering
Renderer
A shader-based software renderer written from scratch in C89
Stars: ✭ 1,366 (+3917.65%)
Mutual labels:  shaders, rendering
Messier87
A realtime raytracing blackhole renderer
Stars: ✭ 53 (+55.88%)
Mutual labels:  shaders, rendering
Grass.DirectX
Realistic Grass Rendering using DirectX 11 and a geometry-shader based approach.
Stars: ✭ 56 (+64.71%)
Mutual labels:  geometry, rendering

unity-clip-shader

example

Unity shader and scripts for rendering solid geometry clipped by a plane

Use

Draws the geometry with a double sided stencil pass and draws a quad afterward to give the illusion of solid geometry. The geometry must be manifold or water-tight with no duplicate triangles or edges.

Add a ClipRenderer component to the GameObject to be rendered, and attach a Clip Plane/Basic material. The ClipRenderer component should be considered a replacement for the built-in Renderer component.

Clip Material Options

Use World Space

Whether or not the plane provided to the material should be used in the local object space or in world space.

Plane Vector

A vector defining a plane in space. The XYZ vector defines the plane's normal, while the W component defines the distance from the origin.

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