processing/processing4

Some `shader()` examples behave unexpectedly at higher pixel densities

開放

#1,063 建立於 2025年4月25日

 (16 則留言) (2 個反應) (1 位負責人)Java (176 個分叉)auto 404
bughelp wanted

倉庫指標

星標
 (439 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

Most appropriate sub-area of Processing 4?

OpenGL

Processing version

4.4.3

Operating system

Tested on macOS 13.4

Steps to reproduce this

  1. Open Processing 4.4.3

  2. Run examples in Topics/Shaders (for example Conway);

  3. Notice the rendering is wrong

snippet

n/a

Additional context

Since 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.

Some investigation in how shader() is implemented and what assumptions are made there might be needed.

Would you like to work on the issue?

This can be assigned

貢獻者指南