当前位置:网站首页>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
边栏推荐
- 05 use of array
- Robust and Efficient Quadrotor Trajectory Generation for Fast Autonomous Flight
- Online Safe Trajectory Generation For Quadrotors Using Fast Marching Method and Bernstein Basis Poly
- Unity获取真实地理地图应用Terrain笔记
- Dropping Pixels for Adversarial Robustness
- 系统与软件安全研究(五)
- 平面定义-平面方程
- ES6使用递归实现深拷贝
- Unity 获取一个资源被那些资源引用
- Unity 获取一个文件依赖的资源
猜你喜欢
随机推荐
命令行参数传递库argparse的使用
中间人环境mitmproxy搭建
Samplecamerafilter
系统与软件安全研究(三)
索引被锁数据无法写入ES问题处理
防抖和节流
Nodejs (four) character reading
C# SmoothProgressBar自定义进度条控件
C# 读取注册表
Robust and Efficient Quadrotor Trajectory Generation for Fast Autonomous Flight
One of event management
Robust and Efficient Quadrotor Trajectory Generation for Fast Autonomous Flight
系统与软件安全研究(一)
SAP Query增强开发介绍
electron-builder打包报错:proxyconnect tcp: dial tcp :0: connectex
UnityShader基础
每天工作4小时的程序员
关于U盘数据提示RAW,需要格式化,数据恢复笔记
MySQL in window10 version does not work after setting remote access permission
基于NLP的软件安全研究(一)