Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hblur: document that only the red channel of the blur map is used to provide the CoC values #254

Merged
merged 1 commit into from
Apr 12, 2024
Merged
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion libnopegl/nodes.specs
Original file line number Diff line number Diff line change
Expand Up @@ -2924,7 +2924,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
Loading