Closed Carkidd closed 11 months ago
The blending calculations seem to be implemented here, would need to figure out how to convert that to blender nodes.
Also a minimal example vmf file with a single 4WayBlended displacement would help with testing in case anyone wants to help.
Here is two examples from Black Mesa. One is filled out per the Source wiki, and the other appears to be auto-generated with Wall Worm Pro. Some values are missing from both- the Wall Worm Pro version has a different surfaceprop type per blended surface (not useful in Blender or implemented in Plumber AFAIK) and the Source Wiki version has evnmap, basealphaenvmapmask, envmaptint and color2 defined.
blend_4way_bnc_rock_srcwiki.txt blend_4way_st_b_rock_wallworm.txt
Implemented in the latest beta release.
Plumber will fail to properly import Lightmapped_4WayBlend materials. These are only found in CS:GO and Black Mesa Source. It will currently only display one of the blend textures.
https://developer.valvesoftware.com/wiki/Lightmapped_4WayBlend
This is how a 4WayBlend looks when imported-![issue plumber](https://user-images.githubusercontent.com/7998107/174988078-cf3b621f-1c0c-4127-94fe-e9cff4826385.png)
And this is how the terrain looks in-game-![issue ingame](https://user-images.githubusercontent.com/7998107/174987944-ffd70d76-d0d9-4d09-86f9-c256eb4eb00b.jpg)