Skip to content
Permalink
Browse files

- change the wrap mode for custom textures in custom postprocess shad…

…ers to repeat
  • Loading branch information...
dpjudas committed Apr 14, 2019
1 parent b8dfb3c commit b5e04518052a887ab4b62347ca98a6bbf05e609f
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/rendering/hwrenderer/postprocessing/hw_postprocess.cpp
@@ -950,7 +950,7 @@ void PPCustomShaderInstance::SetTextures(PPRenderState *renderstate)
pptex = std::make_unique<PPTexture>(buffer.mWidth, buffer.mHeight, PixelFormat::Rgba8, data);
}

renderstate->SetInputTexture(textureIndex, pptex.get(), PPFilterMode::Linear);
renderstate->SetInputTexture(textureIndex, pptex.get(), PPFilterMode::Linear, PPWrapMode::Repeat);
textureIndex++;
}
}

0 comments on commit b5e0451

Please sign in to comment.
You can’t perform that action at this time.