diff --git a/WickedEngine/objectHF.hlsli b/WickedEngine/objectHF.hlsli index 2b09f77a1..e6c121422 100644 --- a/WickedEngine/objectHF.hlsli +++ b/WickedEngine/objectHF.hlsli @@ -924,6 +924,8 @@ GBUFFEROutputType_Thin main(PIXELINPUT input) #endif // DEFERRED +#endif // SIMPLE_INPUT + #ifdef TEXTUREONLY color.rgb += surface.emissiveColor.rgb * surface.emissiveColor.a; @@ -934,8 +936,6 @@ GBUFFEROutputType_Thin main(PIXELINPUT input) color = float4(0, 0, 0, 1); #endif -#endif // SIMPLE_INPUT - color = max(0, color);