Skip to content

Commit

Permalink
Merge pull request #2296 from Autodesk/boudrey/MAYA-122706/shader-syntax
Browse files Browse the repository at this point in the history
MAYA-122706 [GitHub #2267] MaterialX doesn't display in the Viewport …
  • Loading branch information
seando-adsk authored Apr 14, 2022
2 parents ffc4018 + 4de316c commit 6ea80fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ vec3 mx_environment_radiance(vec3 N, vec3 V, vec3 X, vec2 roughness, int distrib
vec3 comp = mx_ggx_energy_compensation(NdotV, avgRoughness, F);
vec3 Li = mix(g_specularI, g_diffuseI, avgRoughness);
return Li * F * G * comp;
};
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ vec3 mx_environment_radiance(vec3 N, vec3 V, vec3 X, vec2 roughness, int distrib
float phongExp = mayaRoughnessToPhongExp(sqrt(avgRoughness));
vec3 Li = mayaGetSpecularEnvironment(N, V, phongExp);
return Li * F * G * comp;
};
}

0 comments on commit 6ea80fb

Please sign in to comment.