git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1333 993157c7-ee19-0410-b2c4-bb4e9862e678
This commit is contained in:
@@ -74,7 +74,7 @@ float4 Palette_fp(FragmentIn f) : COLOR0 {
|
|||||||
technique low_quality {
|
technique low_quality {
|
||||||
pass p0 {
|
pass p0 {
|
||||||
AlphaBlendEnable = false;
|
AlphaBlendEnable = false;
|
||||||
ZWriteEnable = true;
|
ZWriteEnable = false;
|
||||||
ZEnable = false;
|
ZEnable = false;
|
||||||
CullMode = None;
|
CullMode = None;
|
||||||
VertexShader = compile vs_2_0 Simple_vp();
|
VertexShader = compile vs_2_0 Simple_vp();
|
||||||
@@ -85,7 +85,7 @@ technique low_quality {
|
|||||||
technique high_quality {
|
technique high_quality {
|
||||||
pass p0 {
|
pass p0 {
|
||||||
AlphaBlendEnable = true;
|
AlphaBlendEnable = true;
|
||||||
ZWriteEnable = true;
|
ZWriteEnable = false;
|
||||||
ZEnable = false;
|
ZEnable = false;
|
||||||
CullMode = None;
|
CullMode = None;
|
||||||
VertexShader = compile vs_2_0 Simple_vp();
|
VertexShader = compile vs_2_0 Simple_vp();
|
||||||
|
|||||||
@@ -41,9 +41,6 @@ OpenRA
|
|||||||
getting used, and draw the selection borders into the SHP images using that color.
|
getting used, and draw the selection borders into the SHP images using that color.
|
||||||
Then we double up the hardware palettes, and we can draw selection with no extra cost.
|
Then we double up the hardware palettes, and we can draw selection with no extra cost.
|
||||||
|
|
||||||
(Except maybe losing any alpha=0 optimization the backend of the shader hardware does)
|
|
||||||
[ ] Time-to-build overlay on sidebar
|
|
||||||
|
|
||||||
[ ] Console
|
[ ] Console
|
||||||
|
|
||||||
[ ] Refresh hardware image of a Sheet if its bitmap content changes. This will kill the prefetch
|
[ ] Refresh hardware image of a Sheet if its bitmap content changes. This will kill the prefetch
|
||||||
|
|||||||
Reference in New Issue
Block a user