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
396 stars 29 forks source link

Improve shader definition for mod2x decals #188

Open BenLubar opened 1 month ago

BenLubar commented 1 month ago

Based on REDxEYE/SourceIO#287:

Currently, mod2x decals get materials that don't do anything special:

image

Which results in this in the render: image

The proposed new material shader node graph for mod2x decals is this:

image

That is:

This results in a much nicer looking blood stain without a gray rectangle around it: image