google / google/filament

Scissor not correct with dynamic resolution

Open
#6,041 8 comments 0 reactions 1 assignee Claimed by @pixelflinger View on GitHub
Dominant language
C++
Stars
20.5k
Forks
2.3k
Avg merge
2d 16h
Merged PRs (30d)
74

Description

I am seeing weird behaviour with `setScissor` when turning on dynamic resolution (on Android). It looks like the left/bottom positions are interpreted according to the full resolution. So as the resolution is lowered in successive frames, the left/bottom of the scissor rectangle moves towards the right and up. As soon as I switch dynamic resolution off and render a frame with full resolution, the left/bottom jump back to the correct position.

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.