planarreflection emissive object fix
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user