diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2017-06-18 23:18:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-18 23:18:48 +0200 |
commit | d0888f85485c4e064371e03f34facc1990553114 (patch) | |
tree | 5d9e74c6197496fe90834c96d6c6580336538812 /src/video_core/regs_lighting.h | |
parent | Merge pull request #2785 from yuriks/compile-flags (diff) | |
parent | gl_rasterizer/lighting: use the formula from the paper for germetic factor (diff) | |
download | yuzu-d0888f85485c4e064371e03f34facc1990553114.tar yuzu-d0888f85485c4e064371e03f34facc1990553114.tar.gz yuzu-d0888f85485c4e064371e03f34facc1990553114.tar.bz2 yuzu-d0888f85485c4e064371e03f34facc1990553114.tar.lz yuzu-d0888f85485c4e064371e03f34facc1990553114.tar.xz yuzu-d0888f85485c4e064371e03f34facc1990553114.tar.zst yuzu-d0888f85485c4e064371e03f34facc1990553114.zip |
Diffstat (limited to 'src/video_core/regs_lighting.h')
-rw-r--r-- | src/video_core/regs_lighting.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/regs_lighting.h b/src/video_core/regs_lighting.h index f383b8b4f..7221d1688 100644 --- a/src/video_core/regs_lighting.h +++ b/src/video_core/regs_lighting.h @@ -168,6 +168,8 @@ struct LightingRegs { union { BitField<0, 1, u32> directional; BitField<1, 1, u32> two_sided_diffuse; // When disabled, clamp dot-product to 0 + BitField<2, 1, u32> geometric_factor_0; + BitField<3, 1, u32> geometric_factor_1; } config; BitField<0, 20, u32> dist_atten_bias; |