Jump to content

Multiple $surfaceprop in Source


m8nkey

Recommended Posts

Just wondering if there is a way to utilise a different $surfaceprop for the alphamap of a texture. For example, I have a plaster wall with alphamap windows where I'd like to use both plaster and glass surface props for the respective areas.

I think simply adding:

$surfaceprop2

will be enough(I checked VTFEdit and you have the option to assign two surfaces)

Link to comment
Share on other sites

There is nothing about the $surfaceprop2 on the VALVe's Wiki so I decided to make a quick test and $surfaceprop2 doesn't work... I've made this quick test with an alphamaped texture on CSS.

eb793a7ce2a23e6d08996cc9c8193tt.jpg

"LightmappedGeneric"

{

"$basetexture" "test"

"$surfaceprop" "metal"

"$surfaceprop2" "wood"

}

Could you link us the texture you are talking about m8nkey plz ?

Link to comment
Share on other sites

Thanks for the info guys, something for me to look into next week. I'm currently interstate doing a shit course for work.

Could you link us the texture you are talking about m8nkey plz ?

I'm not talking about a specific texture. I've just been making my textures without surfaceprops with the intention of adding them later. Over the weekend I started adding them to materials and wasn't sure what my options were for multiple surfaceprops.

Link to comment
Share on other sites

  • 2 weeks later...
×
×
  • Create New...