Coder Social home page Coder Social logo

unityshaderexamples's Introduction

UnityShaderExamples

拙劣的shader效果

1.CameraEffect

边缘检测

高斯模糊

全局雪

2.温斯顿的盾😅(Cover)

Makin' Stuff Look Good里面的教程

本质上只是depth的应用加上动态纹理的效果.

image

3.模型效果(Model)

image

4.noise

value+perlin+simplex+fbm

image

3DNoiseTest

image

VoronoiNoise

image

5.一些高度纹理的效果(NormalMapHeightMap)

SimpleHeight-直接偏移uv采样(视角较平时失真严重)

image

ParallaxHeight-从上至下分层采样

image

ParallaxHeight2-一个优化,分层采样结束后,取线性平均

image

ParallaxHeight3-一个优化,分层采样结束后,再二分采样

image

ParallaxHeightwithShadow-加阴影

image

ParallaxHeightwithShadow2-加阴影的优化

image

6.外边框(Outline)

鼠标指向的外发光(CommandBuffer+高斯模糊)

image

四种卡通外边框(View+z偏移+normal偏移+sobel边缘检测屏幕效果)

image

7.鼠标指向+shader(RaycastLight)

image

8.地图扫描(Scan)

两种深度值转化为世界坐标的方法

image

9.雪地(Snow)

Tessellation SurfaceShader的使用

image

10.海底(UnderWater)

简单深度雾效+simplexNoise

image

unityshaderexamples's People

Contributors

prprprprprppr avatar

Stargazers

chenzeshenga avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.