xray-16
xray-16 copied to clipboard
Walking on water called graphic artifact on viewmodel weapon
Describe the bug Water deformation causes deformation weapon outline.
To Reproduce Steps to reproduce the behavior:
- Watch video
Screenshots/Video
Desktop:
- OS: Ubuntu 22.04
- OpenXRay build version [87422ac]
SkyBox чуть-чуть наклонена относительно горизонта. Исправление:
В water.ps после:
half4 n0 = tex2D(s_nmap, I.tnorm0);
half4 n1 = tex2D(s_nmap, I.tnorm1);
Добавить это:
n0.xy = n0.xy + (0.5h / 255.0h);
n1.xy = n1.xy + (0.5h / 255.0h);