Skip to content

Commit

Permalink
Add arbitrary base log for math/vec3 math nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
williamchange committed Oct 19, 2023
1 parent 1a86d73 commit b8ed565
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions addons/material_maker/nodes/math.mmg
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,10 @@
"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
4 changes: 4 additions & 0 deletions addons/material_maker/nodes/math_v3.mmg
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@
"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

0 comments on commit b8ed565

Please sign in to comment.