aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/swrasterizer/lighting.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2017-08-30 21:07:30 -0400
committerGitHub <noreply@github.com>2017-08-30 21:07:30 -0400
commitf0e461bf6f9d38c35c581e75731ac80fca3f3172 (patch)
tree0a54a98595c313afd9002ed9964c94255a88abc4 /src/video_core/swrasterizer/lighting.h
parent75cd28a7cc1c73e1be1fc72d4b86b267cbb79081 (diff)
parent17c6104d2afda7bf354c454f87561a3dbdf524e3 (diff)
Merge pull request #2891 from wwylele/sw-bump
SwRasterizer/Lighting: implement bump mapping
Diffstat (limited to 'src/video_core/swrasterizer/lighting.h')
-rw-r--r--src/video_core/swrasterizer/lighting.h3
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