Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
10 changes: 5 additions & 5 deletions addons/material_maker/nodes/height_to_angle.mmg
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"y": 0
},
"parameters": {
"angle": 0
"angle": 0.0
},
"seed_int": 0,
"shader_model": {
Expand Down Expand Up @@ -46,11 +46,11 @@
"parameters": [
{
"control": "None",
"default": 0,
"label": "",
"default": 0.0,
"label": "Angle",
"longdesc": "The offset angle applied to the generated map",
"max": 180,
"min": -180,
"max": 180.0,
"min": -180.0,
"name": "angle",
"shortdesc": "Angle",
"step": 0.01,
Expand Down
8 changes: 4 additions & 4 deletions addons/material_maker/nodes/height_to_offset.mmg
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"y": 0
},
"parameters": {
"target": 0
"target": 0.0
},
"seed_int": 0,
"shader_model": {
Expand Down Expand Up @@ -57,10 +57,10 @@
{
"control": "None",
"default": 0.5,
"label": "",
"label": "Target",
"longdesc": "The target value on the heightmap",
"max": 1,
"min": 0,
"max": 1.0,
"min": 0.0,
"name": "target",
"shortdesc": "Target",
"step": 0.01,
Expand Down
27 changes: 14 additions & 13 deletions addons/material_maker/nodes/kaleidoscope2.mmg
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
{
"name": "kaleidoscope",
"generic_size": 1,
"name": "kaleidoscope2",
"node_position": {
"x": 0,
"y": 0
},
"parameters": {
"count": 5,
"offset": 0,
"count": 5.0,
"offset": 0.0,
"variations": false
},
"seed_int": 1204686787,
"seed_int": 0,
"shader_model": {
"code": "vec3 $(name_uv)_kal = kal_rotate($uv, $count, $offset, $seed);",
"global": [
Expand Down Expand Up @@ -50,23 +51,23 @@
"parameters": [
{
"control": "None",
"default": 5,
"label": "",
"default": 5.0,
"label": "Count",
"longdesc": "The number of replications of an angle of the input",
"max": 10,
"min": 2,
"max": 10.0,
"min": 2.0,
"name": "count",
"shortdesc": "Count",
"step": 1,
"step": 1.0,
"type": "float"
},
{
"control": "None",
"default": 0,
"label": "",
"default": 0.0,
"label": "Offset",
"longdesc": "The angular offset of the replicated angle of the input",
"max": 180,
"min": -180,
"max": 180.0,
"min": -180.0,
"name": "offset",
"shortdesc": "Offset",
"step": 0.1,
Expand Down
17 changes: 9 additions & 8 deletions addons/material_maker/nodes/mirror.mmg
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
{
"generic_size": 1,
"name": "mirror",
"node_position": {
"x": 0,
"y": 0
},
"parameters": {
"direction": 0,
"direction": 0.0,
"flip_sides": false,
"offset": 0
"offset": 0.0
},
"seed_int": 0,
"shader_model": {
Expand Down Expand Up @@ -44,8 +45,8 @@
],
"parameters": [
{
"default": 0,
"label": "",
"default": 0.0,
"label": "Direction",
"longdesc": "The mirror direction (horizontal or vertical)",
"name": "direction",
"shortdesc": "Direction",
Expand All @@ -63,11 +64,11 @@
},
{
"control": "None",
"default": 0,
"label": "",
"default": 0.0,
"label": "Offset",
"longdesc": "The offset from the center",
"max": 1,
"min": 0,
"max": 1.0,
"min": 0.0,
"name": "offset",
"shortdesc": "Offset",
"step": 0.005,
Expand Down
Loading