Unity3d Shader
来源:互联网 发布:手机网络信号不稳定 编辑:程序博客网 时间:2024/05/02 05:22
half4 LightingName (SurfaceOutput s, half3 lightDir, half atten){}This function is used for forward rendering when the view direction is not needed.
Unity3d Shader的属性块结构如下:
其中属性类型包括:
三种自定义光照模型方法:
half4 LightingName (SurfaceOutput s, half3 lightDir, half atten){}//This function is used for forward rendering when the view direction is not needed.half4 LightingName (SurfaceOutput s, half3 lightDir, half3 viewDir, half atten){}//This function is used in forward rendering when a view direction is needed.half4 LightingName_PrePass (SurfaceOutput s, half4 light){}//This function is used when you are using deferred rendering for your project.
0 0
- Unity3d Shader
- unity3d shader
- Unity3D shader
- Unity3D Shader
- Unity3D -- Shader
- Unity3D: Shader
- Unity3D Shader
- Unity3D之Shader:Shader介绍
- Unity3d shader -- fixed function shader
- Unity3D中的shader基础知识
- Unity3D中Shader
- Unity3D shader脚本
- Shader in Unity3d
- Unity3D中的shader基础知识
- Unity3D中的shader进阶
- Unity3D--shader基础知识
- unity3d--内置shader详解
- Unity3D shader脚本
- 【OpenCV】直方图应用:直方图均衡化,直方图匹配,对比直方图
- IOS开发实例-获取用户当前地理坐标
- 我自己都不知道症结所在.时刻总觉
- VS编译duilib项目时候的错误解决方法整理
- arc automatic referencing counting
- Unity3d Shader
- intel历代架构演进1——p6微架构
- linux 系统,查看某目录下有多少个文件
- java 反射
- SATA硬盘15pin电源接口定义
- android ListView详解
- android service 相关问题汇总
- 【PyQt4 实例18】获取网卡信息
- 【OpenCV】数字图像灰度直方图