Skip to content

Commit

Permalink
Merge pull request #680 from williamchange/fix-math-op-shift
Browse files Browse the repository at this point in the history
Fix math node backward compatibility
  • Loading branch information
RodZill4 authored May 5, 2024
2 parents 5be7e69 + 5c43527 commit 6128931
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions addons/material_maker/nodes/math.mmg
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,6 @@
"name": "log(A)",
"value": "log($in1($uv))"
},
{
"name": "log(A, B)",
"value": "log($in1($uv))/log($in2($uv))"
},
{
"name": "log2(A)",
"value": "log2($in1($uv))"
Expand Down Expand Up @@ -205,6 +201,10 @@
"name": "degrees(A)",
"value": "degrees($in1($uv))"
},
{
"name": "log(A, B)",
"value": "log($in1($uv))/log($in2($uv))"
}
]
},
{
Expand Down
8 changes: 4 additions & 4 deletions addons/material_maker/nodes/math_v3.mmg
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,6 @@
"name": "log(A)",
"value": "log($in1($uv))"
},
{
"name": "log(A, B)",
"value": "log($in1($uv))/log($in2($uv))"
},
{
"name": "log2(A)",
"value": "log2($in1($uv))"
Expand Down Expand Up @@ -188,6 +184,10 @@
"name": "tanh(A)",
"value": "tanh($in1($uv))"
},
{
"name": "log(A, B)",
"value": "log($in1($uv))/log($in2($uv))"
}
]
},
{
Expand Down

0 comments on commit 6128931

Please sign in to comment.