oops, left a hack uncommented
This commit is contained in:
parent
959207cbeb
commit
1dcbe7b83a
|
@ -364,17 +364,17 @@ struct Shader
|
||||||
dst.b = modulate_table[texColor.b][materialColor.b];
|
dst.b = modulate_table[texColor.b][materialColor.b];
|
||||||
dst.a = modulate_table[texColor.a][materialColor.a];
|
dst.a = modulate_table[texColor.a][materialColor.a];
|
||||||
//dst.color.components.a = 31;
|
//dst.color.components.a = 31;
|
||||||
#ifdef _MSC_VER
|
//#ifdef _MSC_VER
|
||||||
if(GetAsyncKeyState(VK_SHIFT)) {
|
//if(GetAsyncKeyState(VK_SHIFT)) {
|
||||||
//debugging tricks
|
// //debugging tricks
|
||||||
dst = materialColor;
|
// dst = materialColor;
|
||||||
if(GetAsyncKeyState(VK_TAB)) {
|
// if(GetAsyncKeyState(VK_TAB)) {
|
||||||
u8 alpha = dst.a;
|
// u8 alpha = dst.a;
|
||||||
dst.color = polynum*8+8;
|
// dst.color = polynum*8+8;
|
||||||
dst.a = alpha;
|
// dst.a = alpha;
|
||||||
}
|
// }
|
||||||
}
|
//}
|
||||||
#endif
|
//#endif
|
||||||
break;
|
break;
|
||||||
case 1: //decal
|
case 1: //decal
|
||||||
u = invu*w;
|
u = invu*w;
|
||||||
|
|
Loading…
Reference in New Issue