Talk:PBR (Strata shader): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
m (Nesciuse moved page Talk:Multipage Base Pages Temp Storage/PBR (Strata shader) to Talk:PBR (Strata shader) without leaving a redirect: Moving back to proper place)
 
(6 intermediate revisions by 4 users not shown)
Line 8: Line 8:
[[User:BenLubar|BenLubar]] ([[User talk:BenLubar|talk]]) 04:29, 11 August 2023 (PDT)
[[User:BenLubar|BenLubar]] ([[User talk:BenLubar|talk]]) 04:29, 11 August 2023 (PDT)


{{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]] ([[User talk:Equalizer5118|talk]]) 16:22, 11 Aug 2023
| 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.
}}

Latest revision as of 17:21, 15 July 2024

Icon-message-48px.png
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.

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

BenLubar (talk) 04:29, 11 August 2023 (PDT)

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