FamyCHoff

L1: Registered
Oct 20, 2021
12
0
There was a bug with a brush with a fog texture. If you surrender, a beetle will appear, and if you get closer to a certain distance, it will disappear. How can this error be corrected?
p.s. rear if that displacement
Eck7X_WP5HA.jpg


_5HURo1-jHs.jpg
Zhu3w5dcuPo.jpg
 

Cyberen

L3: Member
Mar 30, 2021
143
30
textures with the $translucent shader allow for semitransparent pixels. However, it is very bad at z-sorting and can appear behind and in front of where it's supposed to be.
What I would recommend for a big giant brush that's a fog blending to nothing is to create a 4x4 image of the fog color (solid) and then incorporate it into an UnlitGeneric vmt file. In that file, use vertex alpha. Then convert a big brush into a displacement on one side, and alter the alpha in the displacement menu so that it gradually transitions to clear. Check the no hull, no ray, no collision boxes too.

https://developer.valvesoftware.com/wiki/$vertexalpha