Skip to content

Commit

Permalink
Fix color value and unnecessary BOM header (#1049)
Browse files Browse the repository at this point in the history
- Color channel values should be separated by commas (standard_surface_copper.mtlx).
- Unnecessary BOM file header (lib/mx_microfacet_diffuse.glsl).
  • Loading branch information
Tellusim committed Nov 12, 2022
1 parent 685a8eb commit 5f41b4f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libraries/pbrlib/genglsl/mx_subsurface_bsdf.glsl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "lib/mx_microfacet_diffuse.glsl"
#include "lib/mx_microfacet_diffuse.glsl"

void mx_subsurface_bsdf_reflection(vec3 L, vec3 V, vec3 P, float occlusion, float weight, vec3 color, vec3 radius, float anisotropy, vec3 normal, inout BSDF bsdf)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<input name="specular_roughness" type="float" value="0.25" />
<input name="metalness" type="float" value="1" />
<input name="coat" type="float" value="1" />
<input name="coat_color" type="color3" value="0.96467984 0.37626296 0.25818297" />
<input name="coat_color" type="color3" value="0.96467984, 0.37626296, 0.25818297" />
<input name="coat_roughness" type="float" value="0.20000000298023224" />
</standard_surface>
<surfacematerial name="Copper" type="material">
Expand Down

0 comments on commit 5f41b4f

Please sign in to comment.