Skip to content

Commit

Permalink
FIX shaders/phong.js set specular typo (#5334)
Browse files Browse the repository at this point in the history
  • Loading branch information
nightgryphon authored Jul 11, 2023
1 parent 888cf3f commit 2f241f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shaders/phong.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ module.exports.Shader = registerShader('phong', {
*/
function getMaterialData (data, materialData) {
materialData.color.set(data.color);
materialData.specular.set(data.emissive);
materialData.specular.set(data.specular);
materialData.emissive.set(data.emissive);
materialData.emissiveIntensity = data.emissiveIntensity;
materialData.fog = data.fog;
Expand Down

0 comments on commit 2f241f1

Please sign in to comment.