CleanTF2plus icon indicating copy to clipboard operation
CleanTF2plus copied to clipboard

Not all textures are flattened

Open cuppajoeman opened this issue 1 year ago • 11 comments

After installing on windows, and loading up process: image image image image

The following textures are not flattened:

  • Screens
  • Barrels
  • Overhead Ventilation
  • Crates
  • Desk and Wall Computers
  • Signs (Resupply, exit signs, misc signs)
  • Viewmodels/Weapons

I'm willing to help fix some of this, but maybe I could get direction from some of the current developers.

cuppajoeman avatar Apr 25 '23 17:04 cuppajoeman

You'll need to add the corresponding textures to dev/lists/flat.txt and flat_hl2.txt respectively. As a starting point to find the textures, load up a map with sv_cheats 1 and look at a prop and run surfaceprop to get information about the surface under your crosshair.

The vpk.exe util will be useful for you to explore the available textures inside the game's VPKs. Read about it here.

I will probably check out some of these textures myself.

*Props with no clipping don't work with the surfaceprop command

Pyogenics avatar Jun 23 '23 22:06 Pyogenics

@Pyogenics I spoke to a player who said they used flat tf2 textures and they pointed me to this link, which seems to do a better job of making everything flattened, the download contains these files. Do you think this is doing the same thing as this repo just already covering more ground in terms of textures?

cuppajoeman avatar Jul 04 '23 23:07 cuppajoeman

I did a quick skim across both lists, all the directories seem to match (and in the same order) but unsure if all the individual files match. Will look deeper later today.

I recon that the main difference will be in the materials/prop directory, unsure.

Pyogenics avatar Jul 05 '23 09:07 Pyogenics

I have made a diff off the two file lists, it seems I was correct to think that there was a difference in props (but I got the directory wrong). I will try add some of these directories and do some testing, I'll upload some screenshots when I can.

Pyogenics avatar Jul 05 '23 11:07 Pyogenics

2fort test, before/after: Wed  5 Jul 12:26:56 BST 2023 Wed  5 Jul 12:37:35 BST 2023

There seems to be a weird thing where some textures are darker in colour or completely off what you expect, like those silos became completely brown from white.

Pyogenics avatar Jul 05 '23 11:07 Pyogenics

I will add in all the directories and then manually remove the worst textures from the lists.

Pyogenics avatar Jul 05 '23 12:07 Pyogenics

Certainly more flattened but very dark Wed  5 Jul 13:43:17 BST 2023 Wed  5 Jul 13:42:00 BST 2023 Wed  5 Jul 13:40:40 BST 2023 Wed  5 Jul 13:40:30 BST 2023

Pyogenics avatar Jul 05 '23 12:07 Pyogenics

Bad textures:

materials/models/props_gameplay/security_fence_alpha.vtf materials/models/props_gameplay/sign_barricade001a.vtf materials/models/props_gameplay/sign_gameplay01_normal.vtf materials/models/props_gameplay/sign_gameplay01_skin10.vtf materials/models/props_gameplay/sign_gameplay01_skin11.vtf materials/models/props_gameplay/sign_gameplay01_skin12.vtf materials/models/props_gameplay/sign_gameplay01_skin1_pyro.vtf materials/models/props_gameplay/sign_gameplay01_skin1.vtf materials/models/props_gameplay/sign_gameplay01_skin2_pyro.vtf materials/models/props_gameplay/sign_gameplay01_skin2.vtf materials/models/props_gameplay/sign_gameplay01_skin3.vtf materials/models/props_gameplay/sign_gameplay01_skin4.vtf materials/models/props_gameplay/sign_gameplay01_skin5.vtf materials/models/props_gameplay/sign_gameplay01_skin6.vtf materials/models/props_gameplay/sign_gameplay01_skin7.vtf materials/models/props_gameplay/sign_gameplay01_skin8.vtf materials/models/props_gameplay/sign_gameplay01_skin9.vtf materials/models/props_gameplay/sign_wood_cap001a_blue.vtf materials/models/props_gameplay/sign_wood_cap001a.vtf materials/models/props_gameplay/sign_wood_cap001b_blue.vtf materials/models/props_gameplay/sign_wood_cap001b.vtf materials/models/props_gameplay/sign_wood_cap001c_blue.vtf materials/models/props_gameplay/sign_wood_cap001c.vtf materials/models/props_gameplay/sign_wood_cap_bluecart.vtf materials/models/props_gameplay/sign_wood_cap_redcart.vtf

materials/models/props_2fort/silo_cluster01a.vtf

materials/models/props_hydro/gorge_set1.vtf materials/models/props_hydro/gorge_set2.vtf materials/models/props_hydro/gorge_set3.vtf materials/models/props_hydro/gorge_set4.vtf materials/models/props_hydro/gorge_set5.vtf materials/models/props_hydro/water_machinery4.vtf

materials/models/props_lights

materials/models/props_foliage

materials/models/props_spytech/exit_*

materials/models/props_mining/generator_pipe01.vtf materials/models/props_mining/generator_pipe01_cap.vtf

Transparency issues- materials/metal/chicken_wire001.vtf materials/metal/metalgrate011a.vtf materials/metal/metalgrate011b.vtf materials/metal/metalgrate013a.vtf

materials/glass

materials/models/props_farm/haypile001.vtf materials/models/props_farm/haypile001_card.vtf

Pyogenics avatar Jul 05 '23 13:07 Pyogenics

Is there anything I can do to help you?

cuppajoeman avatar Jul 05 '23 13:07 cuppajoeman

Here are the more flat vpks, if you can load some maps with it installed and look around for textures that should be left un-flattend and then post the texture names or screenshots + map names of them here.

Pyogenics avatar Jul 05 '23 14:07 Pyogenics

I will add in all the directories and then manually remove the worst textures from the lists.

How would I add in directories myself? Even after adding textures to the file lists, they don't get flattened. I searched the tf2 textures directory and the textures that correlate to the map weren't in there either.

needhelptf2 avatar Jul 31 '23 16:07 needhelptf2