Attempt to fix the motion blur on non-NVIDIA cards
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9350 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
@@ -134,5 +134,7 @@ void PostProcessing::setCameraSpeed(float cam_speed)
|
||||
void PostProcessing::OnSetConstants(video::IMaterialRendererServices *services, s32 user_data)
|
||||
{
|
||||
services->setPixelShaderConstant("boost_amount", &m_boost_amount, 1);
|
||||
// TODO: texture map
|
||||
const float texunit = 0.0f;
|
||||
services->setPixelShaderConstant("color_buffer", &texunit, 1); // Irrlicht knows this is actually a GLint and makes
|
||||
// the conversion
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user