Talk:CompilePassBullets: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
Line 4: Line 4:


I made a grate material and tried to get it to allow bullets to pass through, but that seems to have made it block light? If I comment out the %CompilePassBullets 1 line, it lets light through. That seems like a pretty important detail to not be noted on this page. --[[User:TinyDeskEngineer|Tiny Desk Engineer]] ([[User talk:TinyDeskEngineer|Talk Page]]) 08:24, 26 June 2024 (PDT)
I made a grate material and tried to get it to allow bullets to pass through, but that seems to have made it block light? If I comment out the %CompilePassBullets 1 line, it lets light through. That seems like a pretty important detail to not be noted on this page. --[[User:TinyDeskEngineer|Tiny Desk Engineer]] ([[User talk:TinyDeskEngineer|Talk Page]]) 08:24, 26 June 2024 (PDT)
: Doesn't block light on alphatested materials, IME; haven't had a use case for translucent grates, so haven't thought to test.<br/>— [[User:SirYodaJedi|SirYodaJedi]] ([[User_talk:SirYodaJedi|talk]]) 08:58, 27 June 2024 (PDT)

Revision as of 08:58, 27 June 2024

It's not strictly true that it doesn't work in css/csgo. In css at least, it still makes the material solid and bullets unable to hit it yet don't go through, so it still has some functionality it seems. --Sirhephaestus (talk) 12:19, 13 September 2023 (PDT)

Seems to block light on translucent materials?

I made a grate material and tried to get it to allow bullets to pass through, but that seems to have made it block light? If I comment out the %CompilePassBullets 1 line, it lets light through. That seems like a pretty important detail to not be noted on this page. --Tiny Desk Engineer (Talk Page) 08:24, 26 June 2024 (PDT)

Doesn't block light on alphatested materials, IME; haven't had a use case for translucent grates, so haven't thought to test.
SirYodaJedi (talk) 08:58, 27 June 2024 (PDT)