StrataSource / Portal-2-Community-Edition

Task tracker for Portal 2: Community Edition
https://www.portal2communityedition.com
146 stars 3 forks source link

Bug: Using the Staging (Unstable) Branch, base texture not showing up on PBR materials #1648

Closed JackRHainsworth closed 4 months ago

JackRHainsworth commented 4 months ago

Describe the bug

Base texture doesn't show up on pbr materials in the unstable branch, after lighting gets fixed. Base texture just shows up as black. The rest of the material's textures (mrao and bump) work fine.

EDIT: This also happens in hammer, not just in game.

Issue Map

My styleguide map.

To Reproduce

Create a PBR material and place it in the level.

Operating System

No response

JJL772 commented 4 months ago

Can you attach your VMT and textures here?

JackRHainsworth commented 4 months ago

stylised_metal.zip These textures go in materials/stylised_metal

tsa96 commented 4 months ago

Your VMT is broken, don't use relative paths like that.

JackRHainsworth commented 4 months ago

Your VMT is broken, don't use relative paths like that.

If this was the case, wouldn’t the base texture show as pink and black check? Or wouldn’t the bump and reflection textures also not work?

JackRHainsworth commented 4 months ago

image If the texture is not found, this is the result. Correcting the formatting of the VMT doesn't fix it.