Title: Some `shader()` examples behave unexpectedly at higher pixel densities · Issue #1063 · processing/processing4 · GitHub
Open Graph Title: Some `shader()` examples behave unexpectedly at higher pixel densities · Issue #1063 · processing/processing4
X Title: Some `shader()` examples behave unexpectedly at higher pixel densities · Issue #1063 · processing/processing4
Description: Most appropriate sub-area of Processing 4? OpenGL Processing version 4.4.3 Operating system Tested on macOS 13.4 Steps to reproduce this Open Processing 4.4.3 Run examples in Topics/Shaders (for example Conway); Notice the rendering is w...
Open Graph Description: Most appropriate sub-area of Processing 4? OpenGL Processing version 4.4.3 Operating system Tested on macOS 13.4 Steps to reproduce this Open Processing 4.4.3 Run examples in Topics/Shaders (for ex...
X Description: Most appropriate sub-area of Processing 4? OpenGL Processing version 4.4.3 Operating system Tested on macOS 13.4 Steps to reproduce this Open Processing 4.4.3 Run examples in Topics/Shaders (for ex...
Opengraph URL: https://github.com/processing/processing4/issues/1063
X: @github
Domain: atooq@github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Some `shader()` examples behave unexpectedly at higher pixel densities","articleBody":"### Most appropriate sub-area of Processing 4?\n\nOpenGL\n\n### Processing version\n\n4.4.3\n\n### Operating system\n\nTested on macOS 13.4\n\n### Steps to reproduce this\n\n1. Open Processing 4.4.3\n\n2. Run examples in `Topics/Shaders` (for example Conway);\n\n3. Notice the rendering is wrong\n\n\n### snippet\n\nn/a\n\n\n### Additional context\n\nSince version 4.4.3, the default `pixelDensity` is set to match the display's density. During testing, we found that some shader examples break on high-density displays because they implicitly relied on `pixelDensity` being set to 1.\n\nSome investigation in how `shader()` is implemented and what assumptions are made there might be needed.\n\n### Would you like to work on the issue?\n\nThis can be assigned ","author":{"url":"https://github.com/SableRaf","@type":"Person","name":"SableRaf"},"datePublished":"2025-04-25T12:32:57.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":16},"url":"https://github.com/1063/processing4/issues/1063"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:cc715666-629b-1cd6-1720-a9d490b65e2b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B61A:1DF241:6BD5465:8FFA536:6A5DF594 |
| html-safe-nonce | 96b5ca80736dc1dace56e5656d6bb9f2b09242e2cce222f328b57f064114fbcf |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNjFBOjFERjI0MTo2QkQ1NDY1OjhGRkE1MzY6NkE1REY1OTQiLCJ2aXNpdG9yX2lkIjoiMTgwNjE4OTAwODUyNTMyNTcxNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | de17c9802aba27f9ab45793957ba0f3dd4efafaf0d7c9e32dd9c8625472932b1 |
| hovercard-subject-tag | issue:3019936772 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/processing/processing4/1063/issue_layout |
| twitter:image | https://opengraph.githubassets.com/fe5aefa1a5e9b6d63f3045a88a2144e7c0c338096557573ac128007fa471b85f/processing/processing4/issues/1063 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/fe5aefa1a5e9b6d63f3045a88a2144e7c0c338096557573ac128007fa471b85f/processing/processing4/issues/1063 |
| og:image:alt | Most appropriate sub-area of Processing 4? OpenGL Processing version 4.4.3 Operating system Tested on macOS 13.4 Steps to reproduce this Open Processing 4.4.3 Run examples in Topics/Shaders (for ex... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | SableRaf |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7f8603048a7a8270fc5b845c28ec71e80a9a899268387bcf65814ee1b51c0cc4 |
| turbo-cache-control | no-preview |
| go-import | github.com/processing/processing4 git https://github.com/processing/processing4.git |
| octolytics-dimension-user_id | 1617169 |
| octolytics-dimension-user_login | processing |
| octolytics-dimension-repository_id | 844382769 |
| octolytics-dimension-repository_nwo | processing/processing4 |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 844382769 |
| octolytics-dimension-repository_network_root_nwo | processing/processing4 |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e2a5561aeb049d0632a92906af784af5d414c603 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width