w23 / xash3d-fwgs

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

Materials: Replacing textures is not reliable #301

Closed MaxG2D closed 2 years ago

MaxG2D commented 2 years ago

Same texture name, same RenderMode, yet, the replacing code sometimes breaks: c1a2_0000 c1a2_0001

Looks like something related to the kusok indexing.

0x4E69676874466F78 commented 2 years ago

А где название карты где это происходит?

MaxG2D commented 2 years ago

And where is the name of the map where is this happening?

c1a2

0x4E69676874466F78 commented 2 years ago
{
"for" "-0fifties_f02"
"basecolor_map" "/colors/FFF.png"
"base_color" "1 0 0"
"roughness" "0.2"
}

изображение

w23 commented 2 years ago

... not patched surfaces seem to have different textures: -1fifties_f02, -2fifties_f02, -3fifties_f02. ui_infotool code goes through a slightly different code path to read texture name. I suspect this is the case of "random tiling" or whatever.

w23 commented 2 years ago

:smil: c1a2_shot0001

I think no more changes should be made to the renderer regarding to this, so I'm closing it.

0x4E69676874466F78 commented 2 years ago

I suspect this is the case of "random tiling" or whatever.

Да точно, слона-то я не заметил. Это те самые случайные тайлы при каждом запуске игры, правда у нас они выходят не случайные каждый раз :( так как всегда одно и то же расположение. Вот как оно должно работать: https://www.youtube.com/watch?v=NNv17T02WlY Сломано даже в GL. Сейчас задачу создам.

0x4E69676874466F78 commented 2 years ago

https://github.com/FWGS/xash3d-fwgs/issues/712 вот. Пока это нас не касается, как починят надо будет свериться.

0x4E69676874466F78 commented 2 years ago

Там поправили, надо синхронизоваться будет.