Skip to content

New nodes: 'Emboss', 'Find Edges', 'Solarize', 'Minimum Filter', and 'Maximum Filter' - #5036

Open
Keavon wants to merge 1 commit into
masterfrom
stylize-filters
Open

Keavon wants to merge 1 commit into
masterfrom
stylize-filters

Conversation

@Keavon

@Keavon Keavon commented Nov 28, 2026

Copy link
Copy Markdown
Member

No description provided.

@Keavon Keavon changed the title Add Emboss, Find Edges, Solarize, and neighborhood min/max filters New nodes: 'Emboss', 'Find Edges', 'Solarize', 'Minimum Filter', and 'Maximum Filter' Nov 28, 2026

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

3 issues found across 19 files

Confidence score: 3/5

  • Neighborhood filters can use the wrong device-pixel radius in scaled or transformed exports because feMorphology runs natively even when pixel_exact is false. Use the captured GPU map for this path in node-graph/libraries/rendering/src/renderer/filters.rs.
  • Fractional radii can blend extrema incorrectly after scaling because radius.fract() is in document units while the measurements are raster pixels. Compute the interpolation fraction from the scaled radius for each axis in node-graph/libraries/graphic-types/src/filters.rs.
  • The PR title uses Emboss, Find Edges, and Solarize without quotes, which does not follow the title convention. Put those filter labels in double quotes.
Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name="node-graph/libraries/rendering/src/renderer/filters.rs">

<violation number="1" location="node-graph/libraries/rendering/src/renderer/filters.rs:83">
P2: Neighborhood filters run native `feMorphology` even when `pixel_exact` is false, so their document-pixel radius can become the wrong device-pixel radius in scaled or transformed exports. Use the captured GPU map when the filter cannot run on the pixel lattice.</violation>
</file>

<file name="node-graph/libraries/graphic-types/src/filters.rs">

<violation number="1" location="node-graph/libraries/graphic-types/src/filters.rs:186">
P2: `radius.fract()` is in document units, but the extrema are measured in raster pixels, so fractional radii produce the wrong blend after scaling. Compute the interpolation fraction from the scaled radius for each axis and use the corresponding fraction when blending.</violation>
</file>

<file name="node-graph/libraries/wgpu-executor/src/vello_render/tests.rs">

<violation number="1" location="node-graph/libraries/wgpu-executor/src/vello_render/tests.rs:815">
P2: Custom agent: **PR title enforcement**

The title uses the named filter labels Emboss, Find Edges, and Solarize without quotes. Put these labels in double quotes to follow the PR-title convention.</violation>
</file>

Reply with feedback, questions, or to request a fix.

Re-trigger cubic

This branch was successfully deployed

1 active deployment
graphite-dev (Preview) — cc5ec8d8 Deployed Nov 28, 2026 by github-actions[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant