Skip to content

Commit

Permalink
Fix bug : that caused emissiveIntensity cannot be less than 1
Browse files Browse the repository at this point in the history
  • Loading branch information
ray-cast committed Oct 22, 2017
1 parent 76a9248 commit e923b24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Shader/gbuffer.fxsub
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ void DecodeGbuffer(float4 buffer1, float4 buffer2, float4 buffer3, float4 buffer
material.specular = buffer3.x;
material.customDataB = buffer3.yzw;
if (material.lightModel == SHADINGMODELID_EMISSIVE)
material.customDataA = floor(buffer4.y);
material.customDataA = buffer4.y;
}
}

Expand Down

0 comments on commit e923b24

Please sign in to comment.