- 博客(9)
- 资源 (4)
- 收藏
- 关注
原创 Unity Custom PBR材质
Shader "WH40K/Static/PBR_300" { Properties { _Color ("Color", Color) = (1,1,1,1) _MainTex ("Albedo (RGB)", 2D) = "white" {} _Glossiness ("Smoothness", Range(0,1)) = 0.7
2017-10-30 17:33:31 1498
翻译 Unity Draw call batching 动态合并(2017.2.0版本Unity)
Draw call batching动态合并To draw a GameObject on the screen, the engine has to issue a draw call to the graphics API (such as OpenGL or Direct3D). Draw calls are often resource-intensive, with the grap
2017-11-13 11:28:23 1682
原创 Surface Shaders 内置灯光模型(Build in lighting models)Lighting.cginc 和如何自定义灯光类型
//如果没有定义 LIGHTING_INCLUDED 的话 (这是"if not defined"的简写,是宏定义的一种,它是可以根据是否已经定义了一个变量来进行分支选择,)#ifndef LIGHTING_INCLUDED //使用 LIGHTING_INCLUDED #define LIGHTING_INCLUDED //引用 XXX #include "Un
2017-10-31 14:07:48 1635
转载 欢迎使用CSDN-markdown编辑器
欢迎使用Markdown编辑器写博客本Markdown编辑器使用StackEdit修改而来,用它写博客,将会带来全新的体验哦:Markdown和扩展Markdown简洁的语法代码块高亮图片链接和图片上传LaTex数学公式UML序列图和流程图离线写博客导入导出Markdown文件丰富的快捷键快捷键加粗 Ctrl + B 斜体 Ctrl + I 引用 Ctrl
2017-10-23 20:03:52 170
翻译 Built-in shader variables 内置的着色器变量
Built-in shader variables 内置的着色器变量Unity provides a handful of built-in global variables for your shaders: things like current object’s transformation matrices, light parameters, current time
2017-10-23 19:22:33 389
翻译 Providing vertex data to vertex programs 向顶点程序提供顶点数据
For Cg/HLSL vertex programs, theMesh vertex data is passed as inputs to the vertexshader function. Each input needs to havesemantic speficied for it: for example, POSITION input is the vertex po
2017-10-23 19:15:47 427
转载 【Unity】ShaderForge插件入门教程
【Unity】ShaderForge插件入门教程一.安装说明~下载Unity Asset Store购买并下载https://www.assetstore.unity3d.com/en/#!/content/14147其他渠道下载ShaderForge Package。~安装将Package导入到Unity。Unity引擎菜单栏:Windows标签->Shader Fo
2017-10-16 11:49:41 1175
原创 【Shader】Outline 缩放和背面消隐方式实现
Shader "ZLIX/Outline/ScalePass" { Properties{ _OutlineColor("Outline Color",Color)=(0.7,0.4,0.5,1) _OutlineWith("Outline With",Range (0,0.1))=0.01 } Subshader{ Pass{ Cull Front CGPRO
2017-09-12 20:20:02 1211
Unity Amplify Impostors 0.8.4 资源包
2018-08-15
Unity Amplify Impostors 0.8.4
2018-08-15
MTE(UNITY2017.1.1兼容)
2017-10-25
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人