diff options
author | bunnei <bunneidev@gmail.com> | 2017-08-31 03:07:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-31 03:07:30 +0200 |
commit | f0e461bf6f9d38c35c581e75731ac80fca3f3172 (patch) | |
tree | 0a54a98595c313afd9002ed9964c94255a88abc4 /src/video_core/swrasterizer/lighting.h | |
parent | Merge pull request #2899 from wwylele/touch-refactor (diff) | |
parent | gl_rasterizer/lighting: more accurate CP formula (diff) | |
download | yuzu-f0e461bf6f9d38c35c581e75731ac80fca3f3172.tar yuzu-f0e461bf6f9d38c35c581e75731ac80fca3f3172.tar.gz yuzu-f0e461bf6f9d38c35c581e75731ac80fca3f3172.tar.bz2 yuzu-f0e461bf6f9d38c35c581e75731ac80fca3f3172.tar.lz yuzu-f0e461bf6f9d38c35c581e75731ac80fca3f3172.tar.xz yuzu-f0e461bf6f9d38c35c581e75731ac80fca3f3172.tar.zst yuzu-f0e461bf6f9d38c35c581e75731ac80fca3f3172.zip |
Diffstat (limited to 'src/video_core/swrasterizer/lighting.h')
-rw-r--r-- | src/video_core/swrasterizer/lighting.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/swrasterizer/lighting.h b/src/video_core/swrasterizer/lighting.h index 438dca926..d807a3d94 100644 --- a/src/video_core/swrasterizer/lighting.h +++ b/src/video_core/swrasterizer/lighting.h @@ -13,6 +13,7 @@ namespace Pica { std::tuple<Math::Vec4<u8>, Math::Vec4<u8>> ComputeFragmentsColors( const Pica::LightingRegs& lighting, const Pica::State::Lighting& lighting_state, - const Math::Quaternion<float>& normquat, const Math::Vec3<float>& view); + const Math::Quaternion<float>& normquat, const Math::Vec3<float>& view, + const Math::Vec4<u8> (&texture_color)[4]); } // namespace Pica |