lasa01 / Plumber

A Blender addon for importing Source 1 engine maps, models, materials and textures. This addon makes it possible to import full CS:GO, TF2, CS:S or other Source 1 game maps into Blender.
MIT License
399 stars 29 forks source link

Normal/Bumpmaps don't work in Cycles #75

Closed fordij closed 3 years ago

fordij commented 3 years ago

Something is wrong with how the plugin imports materials with bumpmaps. The shadows are completely dark, rather than shading normally. I've attached a bunch of pictures with the shader setup and how the materials should look in-game. (Image dump)

For reference, what it should look like: hl2_2021-02-28_14-46-03 hl2_2021-02-28_14-46-12

Eevee looks fine: blender_2021-02-28_14-48-21 blender_2021-02-28_14-48-06

But then rendering in Cycles ruins the shadows unless I remove the Normal map link in the shader: blender_2021-02-28_14-42-01 blender_2021-02-28_14-42-012 blender_2021-02-28_14-44-16 blender_2021-02-28_14-45-39

lasa01 commented 3 years ago

I assume this is TF2. Which map is this?

lasa01 commented 3 years ago

Nevermind, I found the issue.