KhronosGroup / KhronosGroup/WebGL

Change readPixels to leave out-of-bounds pixels untouched rather than zeroing them

Open
#1,363 1 comment 0 reactions 1 assignee Claimed by @zhenyao View on GitHub
Dominant language
HTML
Stars
2.9k
Forks
703
Avg merge
2d 9h
Merged PRs (30d)
4

Description

In this discussion:
https://www.khronos.org/webgl/public-mailing-list/archives/1511/msg00002.php

it was decided to change readPixels' behavior to leave pixels untouched that are outside the range of the bound framebuffer, rather than zeroing them. The WebGL 1.0 and 2.0 specs need to be updated, as do the conformance tests.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.