Add uIsFrontCamera uniform to shader and adjust coordinate transformations for front camera's mirrored texture coordinates: - Position transform: (1-posY, 1-posX) instead of (posY, 1-posX) - Angle transform: -angle - 90° instead of +angle + 90° Applied to linearFocusDistance, radialFocusDistance, and blur direction calculations in sampleBlurred. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| drawable | ||
| mipmap-anydpi-v26 | ||
| raw | ||
| values | ||