当前位置:网站首页>TA notes of Zhuang understand (VII) < Lambert + Phong + shadow + 3evcolor + Ao >
TA notes of Zhuang understand (VII) < Lambert + Phong + shadow + 3evcolor + Ao >
2022-04-23 07:53:00 【Allen7474】
Zhuang understands TA note ( 7、 ... and )< The effect of ambient light on illumination >

One 、 Monochromatic ambient light affects :1ColAmient

Two 、ShaderForge Trichromatic ambient light affects :3ColAmbient

New node :
Comonent Mast( Component mask ):

Subtract( subtract ):

Realize the idea :
1、 Based on normal , utilize CompMask Conduct RGBA layered .
R: Left and right axis
G: Up and down axial direction
B: Front and rear axial direction
Corresponding :
Realize the idea :
1、 Through the three directions of the normal , Up and down , about , The side In three directions Ambient light simulation .
adopt Comp Mask node , collection G Green channel , Get the direction information of the upward normal .
And put Upward Masks and One Color Multiply colors . After multiplication, the pixel information in the other three directions is superimposed .
2、 adopt -1 and The green channel of the normal Multiply , Get a downward normal mask , Downward normal mask with a Color Multiply colors , Get under control Downward ambient color control .
3、1 reduce Upward mask , In subtraction Downward mask , obtain Side normal mask , The normal mask on the side lies in a Color Multiply colors , Get under control Ambient light color control on the side .

Realization effect :


3、 ... and 、ShaderLab Trichromatic ambient light affects :

Four 、ShaderForge Projection effect :


5、 ... and 、ShaderLab Projection effect :

6、 ... and 、 Past technology integration :OldSchool+:


Mixed OldSchool Effect display .








7、 ... and 、 Schoolwork and Practice :

版权声明
本文为[Allen7474]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230627431378.html
边栏推荐
- MySQL8. 0 installation / uninstallation tutorial [window10 version]
- Scrapy modifies the time in the statistics at the end of the crawler as the current system time
- MySQL8.0 安装/卸载 教程【Window10版】
- Apache Hudi 如何加速传统的批处理模式?
- NodeJS(六) 子进程操作
- 系统与软件安全研究(三)
- 中间人环境mitmproxy搭建
- C# 文本文件的查找及替换(WinForm)
- 将单行文字自动适应到目标矩形框内
- 关于U盘数据提示RAW,需要格式化,数据恢复笔记
猜你喜欢

SAP STO With Billing流程与配置

How does Apache Hudi accelerate traditional batch mode?

VBA调用SAP RFC实现数据读取&写入

Protobuf use

Enterprise wechat login free jump self built application

关于U盘数据提示RAW,需要格式化,数据恢复笔记

SAP自建表log功能开启

'NPM' is not an internal or external command, nor is it a runnable program or batch file

Dictionary & lt; T1,T2&gt; Sorting problem

Understanding the Role of Individual Units in a Deep Neural Networks(了解各个卷积核在神经网络中的作用)
随机推荐
STO With Billing 跨公司库存转储退货
TimelineWindow
.NET 5 的新功能 What‘s new in .NET 5
'NPM' is not an internal or external command, nor is it a runnable program or batch file
Nodejs (four) character reading
Towords Open World Object Detection
根据某一指定的表名、列名及列值来向前或向后N条查相关列值的SQL自定义标量值函数
事件系统(二)多播事件
SQL user-defined scalar value function that looks up relevant column values n times forward or backward according to a specified table name, column name and column value
ES6使用递归实现深拷贝
03Scanner类的使用(控制台输入)
ABAP ALV显示金额与导出金额不一致
防抖和节流
Samplecamerafilter
企业微信免登录跳转自建应用
基于NLP的软件安全研究(二)
索引被锁数据无法写入ES问题处理
Unityshader Foundation
Double sided shader
快速排序