1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 11:38:21 +02:00

Fixed colorization for IDE

This commit is contained in:
Brian Fiete 2019-09-18 08:12:15 -07:00
parent a9e2e7595b
commit f2863d53b8
6 changed files with 3 additions and 10 deletions

View file

@ -694,19 +694,12 @@ namespace Beefy
window.PreDraw(mGraphics);
if (mColorMatrix != null)
{
#if DEBUG
mColorMatrix = Matrix4(
/*mColorMatrix = Matrix4(
0.90f, 0.10f, 0.00f, 0,
0.00f, 0.90f, 0.10f, 0,
0.10f, 0.00f, 1.05f, 0,
0, 0, 0, 1);
#else
mColorMatrix = Matrix4(
0.90f, 0.10f, 0.00f, 0,
0.00f, 1.05f, 0.10f, 0,
0.10f, 0.00f, 0.90f, 0,
0, 0, 0, 1);
#endif
0, 0, 0, 1);*/
mGraphics.SetShaderConstantData(0, &mColorMatrix.ValueRef, mColorMatrixDataDef);
}
window.Draw(mGraphics);

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 30 KiB

Before After
Before After

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 51 KiB

After

Width:  |  Height:  |  Size: 52 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 94 KiB

After

Width:  |  Height:  |  Size: 94 KiB

Before After
Before After

Binary file not shown.