Talk:PBR (Strata shader): Difference between revisions
Jump to navigation
Jump to search
(Replaced content with "{{Discussion page}}") Tag: Replaced |
m (Reverted edits by DiscussionRepairBot (talk) to last revision by PabloS) Tag: Rollback |
||
Line 1: | Line 1: | ||
{{Discussion page}} | {{Discussion page}} | ||
== RE: "what do $flags do?" == | |||
$flags, $flags_defined, $flags2, and $flags_defined2 are the same for every shader. You should not be setting them manually in a vmt, instead, set one of the variables that gets turned into the bitfield, like $alphatest, $nocull, etc. | |||
https://github.com/ValveSoftware/source-sdk-2013/blob/0d8dceea4310fde5706b3ce1c70609d72a38efdf/mp/src/public/materialsystem/imaterial.h#L348-L429 | |||
[[User:BenLubar|BenLubar]] ([[User talk:BenLubar|talk]]) 04:29, 11 August 2023 (PDT) | |||
{{Message | |||
| user = Equalizer5118 | |||
| time = 16:22, 11 Aug 2023 | |||
| Thank you, I was just reading the parameter list from shaders.json, so I wrote down everything that was on there whether I knew what it meant or not. | |||
}} |
Revision as of 20:01, 17 June 2024

This is the discussion page of PBR (Strata shader).
To add a comment, use the Edit button near the headline of the appropriate section. To create a new section, you can use the Add topic button at the top of this page.
Comments on talk pages should be signed with "~~~~", which will be converted into your signature and a timestamp.
Comments on talk pages should be signed with "~~~~", which will be converted into your signature and a timestamp.
RE: "what do $flags do?"
$flags, $flags_defined, $flags2, and $flags_defined2 are the same for every shader. You should not be setting them manually in a vmt, instead, set one of the variables that gets turned into the bitfield, like $alphatest, $nocull, etc.
BenLubar (talk) 04:29, 11 August 2023 (PDT)
(using Template:Message) Thank you, I was just reading the parameter list from shaders.json, so I wrote down everything that was on there whether I knew what it meant or not.
--Equalizer5118 (talk) 16:22, 11 Aug 2023 (UTC)