From 036e8bfb85449b37b3804c4b2e21aca97e6cc208 Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Tue, 16 Feb 2010 17:56:34 +1300 Subject: [PATCH] fixed chrome-rgba shader --- chrome-rgba.fx | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/chrome-rgba.fx b/chrome-rgba.fx index 8fbcc903d0..119ebd4e75 100644 --- a/chrome-rgba.fx +++ b/chrome-rgba.fx @@ -40,13 +40,11 @@ technique high_quality { pass p0 { BlendEnable = true; DepthTestEnable = false; -// CullFace = NONE; -// CullMode = None; -// FillMode = Solid; + CullFaceEnable = false; VertexProgram = compile latest Simple_vp(); FragmentProgram = compile latest Simple_fp(); - //SrcBlend = SrcAlpha; - //DestBlend = InvSrcAlpha; + BlendEquation = FuncAdd; + BlendFunc = int2( SrcAlpha, OneMinusSrcAlpha ); } }