xray-16 icon indicating copy to clipboard operation
xray-16 copied to clipboard

Walking on water called graphic artifact on viewmodel weapon

Open GermanAizek opened this issue 3 years ago • 1 comments

Describe the bug Water deformation causes deformation weapon outline.

To Reproduce Steps to reproduce the behavior:

  1. Watch video

Screenshots/Video

Desktop:

  • OS: Ubuntu 22.04
  • OpenXRay build version [87422ac]

GermanAizek avatar Dec 21 '22 18:12 GermanAizek

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);

xrModder avatar Jan 26 '23 12:01 xrModder