Skip to content

Commit

Permalink
hblur: document that only the red channel of the blur map is used to …
Browse files Browse the repository at this point in the history
…provide the CoC values
  • Loading branch information
mbouron committed Apr 12, 2024
1 parent 02f491f commit ae02c97
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libnopegl/nodes.specs
Original file line number Diff line number Diff line change
Expand Up @@ -2972,7 +2972,7 @@
"type": "node",
"node_types": ["Texture2D"],
"flags": [],
"desc": "blur map providing the CoC (circle of confusion) for each pixels"
"desc": "blur map providing the CoC (circle of confusion) for each pixels (only the red channel is used)"
}
]
},
Expand Down
2 changes: 1 addition & 1 deletion libnopegl/src/node_hblur.c
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ static const struct node_param hblur_params[] = {
{"map", NGLI_PARAM_TYPE_NODE, OFFSET(map),
.node_types=(const uint32_t[]){NGL_NODE_TEXTURE2D, NGLI_NODE_NONE},
.flags=NGLI_PARAM_FLAG_DOT_DISPLAY_FIELDNAME,
.desc=NGLI_DOCSTRING("blur map providing the CoC (circle of confusion) for each pixels")},
.desc=NGLI_DOCSTRING("blur map providing the CoC (circle of confusion) for each pixels (only the red channel is used)")},
{NULL}
};

Expand Down

0 comments on commit ae02c97

Please sign in to comment.