We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4711ea commit cdd8757Copy full SHA for cdd8757
src/engine/renderer/tr_shader.cpp
@@ -4763,10 +4763,6 @@ static bool ParseShader( const char *_text )
4763
4764
static int packLinearizeTexture( bool linearizeColorMap, bool linearizeMaterialMap, bool linearizeLightMap )
4765
{
4766
- /* HACK: emulate three-bits bitfield
4767
- even: no color map linearization (first bit)
4768
- less than 2: no light map linearization (second bit)
4769
- positive: no material map linearization (extra bit) */
4770
return linearizeColorMap << 0
4771
| linearizeLightMap << 1
4772
| linearizeMaterialMap << 2;
0 commit comments