tilt-shift-camera/app
Ole-Morten Duesund 0cd41e9814 Fix front camera rotation mirroring in shader
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>
2026-01-29 17:07:44 +01:00
..
src/main Fix front camera rotation mirroring in shader 2026-01-29 17:07:44 +01:00
build.gradle.kts Add radial mode, UI controls, front camera, update to API 35 2026-01-29 11:13:31 +01:00
proguard-rules.pro Initial implementation of Tilt-Shift Camera Android app 2026-01-28 15:26:41 +01:00