Skip to content

Commit

Permalink
Added special cases for level data
Browse files Browse the repository at this point in the history
  • Loading branch information
kosumosu committed Dec 28, 2023
1 parent f7b775a commit 0f393dd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Layers/xrRenderDX11/dx11Texture.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,11 @@ ID3DBaseTexture* CRender::texture_load(LPCSTR fRName, u32& ret_msize)
&& !strstr(fname, "_dudv")
&& !strstr(fname, "water_normal")
&& !strstr(fname, "internal_")

&& !strstr(fname, "_lm.") // terrain lightmaps (level/*/terrain/)
&& !strstr(fname, "level_lods_nm") // level lods normal map (level/*/)
&& !strstr(fname, "lmap#") // level light maps (level/*/)

&& !strstr(fname, "ui_magnifier2");

IReader* S = NULL;
Expand Down

0 comments on commit 0f393dd

Please sign in to comment.