当前位置:网站首页>HDRP shader gets pixel depth value and normal information
HDRP shader gets pixel depth value and normal information
2022-08-11 09:25:00 【East Bear in the morning】
Depth Value
Create a custom Pass

You can find that the template has already helped us get the depth value
For details, see the official documentation: https://docs.unity3d.com/en/Packages/[email protected]/manual/Custom-Pass.html
References (but failed):
Get depth values in HDRP - 8AM - https://blog.csdn.net/h5502637/article/details/86592210/
Normal
Add reference file
#include "Packages/com.unity.render-pipelines.high-definition/Runtime/Material/NormalBuffer.hlsl"The function is as follows
NormalData normalData;DecodeFromNormalBuffer(posInput.positionSS, normalData);return float4(normalData.normalWS, color.a)span>;Results
边栏推荐
猜你喜欢
随机推荐
idea 方法注释:自定义修改method的return和params,void不显示
中移链EOSJS实战使用
MATLAB实战Sobel边缘检测(Edge Detection)
mindspore 执行模型转换为310的mindir文件显示无LRN算子
Primavera Unifier 高级公式使用分享
CreateJS加速地址
Song of the Cactus - Massive Rapid Expansion (1)
游戏服务器中集群网关的设计
shell之sed
1002 A+B for Polynomials
SDUT 2877: angry_birds_again_and_again
mindspore如何实现每50个epoch检测一次psnr
Network model (U - net, U - net++, U - net++ +)
关于ts的一些泛型关键字用法
UNITY gameobject代码中setacvtive(false)与面板中直接去掉勾 效果不一样
HDRP shader 获取阴影(Custom Pass)
MySQL select count(*) count is very slow, is there any optimization solution?
Primavera Unifier 自定义报表制作及打印分享
WordpressCMS主题开发02-制作顶部header.php和footer.php
HDRP shader 获取像素深度值和法线信息









