w23 / xash3d-fwgs

Vulkan Ray Tracing fork of Xash3D FWGS engine. Intended to be merged into master at some point in the future.
160 stars 16 forks source link

Broken (zero) normals for some studio models #731

Open w23 opened 4 months ago

w23 commented 4 months ago

Some studio models end up producing normals with zero length. These lead to invalid shading normals in shaders, which cause nans all over the place.

Known models:

  1. crossbow
  2. satchel
  3. v_egon | pylesos
  4. grenate

And possibly many more

Also might be related: weird shading on yellow "EXPLOSIVE" satchel tag

0x4E69676874466F78 commented 2 weeks ago

Мы же это вроде починили уже?

w23 commented 2 weeks ago

Мы же это вроде починили уже?

Мы ~починили~замазали наны в шейдерах, но не починили корень проблемы. Там сейчас лог с ошибкой стоит, который периодически ноет про нулевую нормаль в игре.