#Some of the custom textures aren't working

1 messages · Page 1 of 1 (latest)

gloomy breach
#

I'm making a map with a few custom textures. When I upload it to the workshop, and test it on another computer, some of them work fine, but others have the pink and black "missing texture" thing. Any ideas?

analog bronze
#

you may want to check out these materials and ensure they are constructed properly

#

First step, making sure all the texture maps used by the broken materials are inside of the materials folder

gloomy breach
#

Some of them are just the color texture, and the color is in the materials

#

No normal maps or roughness

analog bronze
#

What shader

gloomy breach
#

some are unlitgeneric, others are csgo environemnt

analog bronze
#

if you right click on one of the material broken assets in hammer or material editor or whatever, and press "full recompile" I believe the option is called, does it throw any errors or anything at you?

gloomy breach
#

No errors

analog bronze
#

Can you screenshot like opening this material in the material editor and just include the whole

gloomy breach
#

Sure, 1 second

#

is this what you asked for?

analog bronze
#

yeah

#

hmm, that is odd

#

I was under the impression that none of the shaders actually supported non power-of-two textures

gloomy breach
#

They dont, but only using the color it doesnt give me an error

analog bronze
#

okay, let's test something out

gloomy breach
#

There are plenty of other textures that are non power-of-two that work

analog bronze
#

ah okay then nvm

#

hmm

#

is this map on the workshop so I could pull down the vpk myself and check it out?

gloomy breach
#

One second, i have to check it with someone else. I'm not doing this for myself, so I need the other guy's permission

#

He told me to send a reduced versio of the map, ill send just the building with the textures that are having problems, ok? I'll have to upload it to workshop, so it should take some time for it to be approved

analog bronze
#

no thanks its okay, I'll just tell you what I would check

#

I would use VRF and open the workshop VPK, and try to peer and see if the compiled materials are there (the vmat_c)

#

if they are, I would open them and see where its looking for references at

#

if you can't find anything obviously wrong or missing in the map vpk, I would delete your addon's game/models and game/materials folders

#

this will delete all compiled assets, and force them to recompile the next time you re-open the map in hammer

#

if there are any issues compiling, it should be caught here

#

I almost think it has to be related to the asset compilation because I just fundamentally do not understand why else it would give you those kinds of errors

#

that being said though, I am still apprehensive about the fact you are using non-power-of-two textures, and I would not exactly be shocked if there were some specific cases or shaders where those are broken

#

but I would start my investigation there at least

gloomy breach
#

Ok, thanks

#

But again, on my computer, it all works normally

#

On another computer, if I send them the addon's content manually, it also works. It only causes errors if the other computer downloads it through the workshop

#

Downloading manually causes no issues

#

Just did what you told me, everything is in place in terms of the compiled materials and their references and there were no re-compiling error messages

gloomy breach
analog bronze
#

yeah i dunno that's weird that they sorta worked

gloomy breach
#

lol