GithubHelp home page GithubHelp logo

avatarguo / learnunityshader Goto Github PK

View Code? Open in Web Editor NEW

This project forked from csdjk/learnunityshader

0.0 0.0 0.0 1.39 GB

学习Unity Shader过程中的一些记录,特效,动画Demo。

C# 41.31% ShaderLab 51.67% GLSL 3.80% Shell 0.03% HLSL 3.19%

learnunityshader's Introduction

Learn Unity Shader

学习UnityShader过程中的一些Demo记录。

大致分为两部分:

  • 《Unity Shader入门精要》里的一些Shader实现。
  • 学习Shader过程中的一些效果实现及拓展。

入门精要Shader

learnShader1.png

4dNIP0.gif

4JXjSK.png

4JXvQO.png

4JjCTA.gif

4JjiFI.gif

4JjFYt 4JjFYt
处理后 原图
4JjFYt 4JjFYt
在原图上叠加 边缘提取
4JjFYt 4JjFYt
高斯模糊 原图

4dU6F1.gif

动画模拟

4aBg6f.gif

4aB2X8.gif

CommandBuffer

4aBH10.png

4aBqXT.png

Depth

4aDShR.png

4aBbcV.gif

几何着色器的基本应用

4aBOnU.png

4aBXBF.gif

GPU Instance

4daUAA.gif

后处理特效

badTV.gif badTV2.gif

Bloom.png Bloom2.png
原图 Bloom
sed.png boxBlur.png
原图 均值模糊
GaussBlur.png RadialBlur.png
高斯模糊 径向模糊

mask.gif mask2.gif

outline.gif

Wave.gif

zoom.gif

其他Shader

4aBj74.gif

Dissolve Dissolve2

FlipBook

energyBall

描边

左边是 先渲染正面后渲染描边、右边 先渲染描边后渲染正面

曲面细分着色器

snowGround.gif

次表面散射

sss

sss2

左边:开启SSS、右边:关闭SSS

sssss

卡通渲染

ColorGradation4

water

PBR

50Eeot.png 50ElQg.gif

左边:自定义PBR,右边:Unity的PBR

50E0lF.png 50EBy4.png

待续:卡通渲染、水体渲染

learnunityshader's People

Contributors

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