Skip to content

Commit

Permalink
Minor
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinmera committed Oct 24, 2024
1 parent 79d3c66 commit c1191d9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions data/renderer/standard-render-pbr.glsl
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ void standard_init(){
metalness = mro.x * material.metalness_factor;
roughness = mro.y * material.roughness_factor;
occlusion = 1.0 - (mro.z * material.occlusion_factor);
}

void standard_init@after(){
F0 = mix(vec3(0.04), albedo.xyz, metalness);
}

Expand Down

0 comments on commit c1191d9

Please sign in to comment.