当前位置:网站首页>庄懂的TA笔记(七)<Lambert+Phong+Shadow+3EvColor+AO>
庄懂的TA笔记(七)<Lambert+Phong+Shadow+3EvColor+AO>
2022-04-23 06:28:00 【Allen7474】
庄懂的TA笔记(七)<环境光对光照的影响 >

一、单色环境光影响:1ColAmient

二、ShaderForge三色环境光影响:3ColAmbient

新节点:
Comonent Mast(组件掩码):

Subtract(减去):

实现思路:
1、基于法线,利用CompMask进行RGBA分层。
R:左右轴向
G:上下轴向
B:前后轴向
对应:
实现思路:
1、通过法线的三个方向进行,上下,左右,侧面 三个方向的 环境光模拟。
通过Comp Mask节点,采集G绿通道,获取向上法线的方向信息。
并把 上方向的 遮罩和 一个 Color 色彩相乘。相乘后叠加其他三个方向的像素信息。
2、通过 -1和 法线的绿通道 相乘,得到一向下的法线遮罩,向下的法线遮罩与一个Color色彩相乘,得到控制 向下的环境光色彩控制。
3、1 减 向上的遮罩,在减去 向下的遮罩,得到 侧面的法线遮罩,侧面的法线遮罩在于一个Color色彩相乘,得到控制 侧面的环境光色彩控制。

实现效果:


三、ShaderLab三色环境光影响:

四、ShaderForge投影效果:


五、ShaderLab投影效果:

六、过往技术整合:OldSchool+:


混合的OldSchool效果展示。








七、课业修行:

版权声明
本文为[Allen7474]所创,转载请带上原文链接,感谢
https://blog.csdn.net/Allen7474/article/details/123777433
边栏推荐
猜你喜欢

设置了body的最大宽度,但是为什么body的背景颜色还铺满整个页面?

Understanding the Role of Individual Units in a Deep Neural Networks(了解各个卷积核在神经网络中的作用)
![MySQL8. 0 installation / uninstallation tutorial [window10 version]](/img/9c/1acf153b410f0d2eb6a23dcdbabb88.png)
MySQL8. 0 installation / uninstallation tutorial [window10 version]

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

SAP 03-AMDP CDS Table Function using ‘WITH‘ Clause(Join子查询内容)

Online Safe Trajectory Generation For Quadrotors Using Fast Marching Method and Bernstein Basis Poly

Django uses MySQL database to solve error reporting

FUEL: Fast UAV Exploration using Incremental Frontier Structure and Hierarchical Planning

Rethink | open the girl heart mode of station B and explore the design and implementation of APP skin changing mechanism

Super classic & Programming Guide (red and blue book) - Reading Notes
随机推荐
快排的练习
移动布局(flex布局、视口标签)
将单行文字自动适应到目标矩形框内
Custom time format (yyyy-mm-dd HH: mm: SS week x)
踩坑日记:Unable to process Jar entry [module-info.class]
The page displays the current time in real time
简单理解==和equals,String为什么可以不用new
instanceof的实现原理
基于NLP的软件安全研究(二)
自己封装unity的Debug函数
Use of command line parameter passing library argparse
Solve the problem of deploying mysql8 in docker with correct password but unable to log in to MySQL
Gets the maximum getmaxpoint in the list of all points
防抖和节流
C# 多个矩形围成的多边形标注位置的问题
03Scanner类的使用(控制台输入)
系统与软件安全研究(一)
Dropping Pixels for Adversarial Robustness
NodeJS(六) 子进程操作
利用Lambda表达式解决c#文件名排序问题(是100大还是11大的问题)