Skip to content

Commit

Permalink
GLTF loader: set default emissive factor to 0 as per spec
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMostDiligent committed Jun 7, 2023
1 parent 5d2bdb9 commit 7ef46c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AssetLoader/interface/GLTFLoader.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ struct Material
struct ShaderAttribs
{
float4 BaseColorFactor = float4{1, 1, 1, 1};
float4 EmissiveFactor = float4{1, 1, 1, 1};
float4 EmissiveFactor = float4{0, 0, 0, 0};
float4 SpecularFactor = float4{1, 1, 1, 1};

int Workflow = PBR_WORKFLOW_METALL_ROUGH;
Expand Down

0 comments on commit 7ef46c3

Please sign in to comment.