Closed xuetaolu closed 2 years ago
VS Input data incorrent in Mesh Viewer
It is no changes result below out_attr3 is NormalDirection, which calc from in_attr0(ObjectPosition) and in_attr1(ObjectNormal)
but in_attr1(ObjectNormal) display is no incorrect.
if I edit the vert shader, out_attr3.xyzw = in_attr1.xyzw; out_attr3 is not equal to in_attr1
out_attr3.xyzw = in_attr1.xyzw;
maybe it cause by the format of in_attr1, which is R10G10B10A2_UNORM Cast to float
I also try to set in_attr1 value manually, using the data showed in mesh view, but the result is also changed.
RenderDoc version: v1.20 built form 70676a57 Qt version 5.15.2
Operating System: 处理器 AMD Ryzen 5 5600G with Radeon Graphics 3.90 GHz 机带 RAM 32.0 GB (31.4 GB 可用)
版本 Windows 10 企业版 G 版本号 21H2 安装日期 2021/10/14 操作系统内部版本 19044.1766 体验 Windows Feature Experience Pack 120.2212.4180.0
Graphics API: OpenGL
Captured software Ryujinix 1.1.152 Game Animal Crossing: New Horizons v2.0.5
RenderDoc is only intended for capturing your own programs. Capturing copyrighted programs that you do not have the rights to is not endorsed and I will provide absolutely no support for it.
Description
VS Input data incorrent in Mesh Viewer
Steps to reproduce
It is no changes result below out_attr3 is NormalDirection, which calc from in_attr0(ObjectPosition) and in_attr1(ObjectNormal)
but in_attr1(ObjectNormal) display is no incorrect.
if I edit the vert shader,
out_attr3.xyzw = in_attr1.xyzw;
out_attr3 is not equal to in_attr1maybe it cause by the format of in_attr1, which is R10G10B10A2_UNORM Cast to float
I also try to set in_attr1 value manually, using the data showed in mesh view, but the result is also changed.
Environment
RenderDoc version: v1.20 built form 70676a57 Qt version 5.15.2
Operating System: 处理器 AMD Ryzen 5 5600G with Radeon Graphics 3.90 GHz 机带 RAM 32.0 GB (31.4 GB 可用)
版本 Windows 10 企业版 G 版本号 21H2 安装日期 2021/10/14 操作系统内部版本 19044.1766 体验 Windows Feature Experience Pack 120.2212.4180.0
Graphics API: OpenGL
Captured software Ryujinix 1.1.152 Game Animal Crossing: New Horizons v2.0.5