diff options
| author | s-ol <s+removethis@s-ol.nu> | 2025-03-05 17:38:04 +0000 |
|---|---|---|
| committer | s-ol <s+removethis@s-ol.nu> | 2025-03-10 11:44:48 +0000 |
| commit | cf3475eab439df049fb48a039801da8270dc044c (patch) | |
| tree | 006e6a677696f9ce6e030614167158ff6a84c682 /README.md | |
| parent | Update README.md (diff) | |
| download | glsl-view-cf3475eab439df049fb48a039801da8270dc044c.tar.gz glsl-view-cf3475eab439df049fb48a039801da8270dc044c.zip | |
implement HAP decoding straight to compressed GPU texture
Supports HAP and HAP Alpha (Hap1/Hap5) formats
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -42,6 +42,14 @@ When built with ffmpeg, images and videos can be loaded as 2D or 3D textures: The filepaths are interpreted relative to the config file. +#### video files +Videos are fully uploaded to the GPU as 2D-array- or 3D textures. +To save on GPU memory, textures are stored using GPU compression. +Nevertheless, the resolution and length are limited. + +Loading most video formats is quite slow because the frames need to be compressed during upload. +Videos encoded using HAP or HAP Alpha will load much faster since the image data is already in the GPU compressed format. + ### commands A message to `/-/reload` forces a reload of the shader source code. |
