31 Commits

Author SHA1 Message Date
e4f9d852c5 Puja a C++20, restaura std::ranges::fill i elimina FRAGMENT_ENTRY no usat a macOS 2026-05-04 13:56:31 +02:00
ee8b09aa8f Simplifica Makefile a 3 targets delegats a CMake amb release a dist/ 2026-05-04 13:47:02 +02:00
92450cccb8 Actualitza copyright del LICENSE al nom del projecte 2026-05-04 13:37:07 +02:00
a68d10d38a Reorganitza release/ en icons/macos/windows i afig libwinpthread-1.dll 2026-05-04 13:35:30 +02:00
e51ee84167 Reestructura carpetes: src->source, third_party->source/external, shaders->data/shaders 2026-05-04 13:21:34 +02:00
cec347a97c Merge branch 'audio' 2026-05-04 13:10:50 +02:00
4f844fe17e Migra a jail_audio nou amb streaming i precàrrega 2026-05-04 13:10:43 +02:00
dff5d6fab2 Restaura l'antialiasing de fcos al port Metal de cube_lines 2026-05-04 12:42:49 +02:00
ef37a7a2e6 Porta tots els shaders a Vulkan i Metal 2026-05-04 12:35:58 +02:00
8d42d5741f Format window title with copyright prefix and backend driver 2026-05-04 11:55:34 +02:00
f18d6143d1 Add SDL3 GPU backend (Vulkan/Metal) with OpenGL fallback 2026-05-04 11:45:43 +02:00
0a03509323 corregit makefile per a macos 2026-05-04 09:12:19 +02:00
8f3d013c8e Remove voxel_descent shader, add cube_lines shader, update README
- Removed voxel_descent.frag.glsl (incompatible with OpenGL - multiple overflow issues)
- Added cube_lines.frag.glsl by Danil (raytraced refraction cube with self-intersections)
- Updated README.md:
  - Corrected executable name (shadertoy_sdl3 → shadertoy)
  - Added features section (FPS counter, VSync, metadata, feedback system)
  - Updated keyboard shortcuts (F3, F4, arrows)
  - Added Shadertoy compatibility guide
  - Updated usage examples with correct paths
  - Added shader conversion guide from Shadertoy

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-16
2025-11-16 19:16:27 +01:00
9110d689a5 corregit makefile 2025-11-16 17:54:52 +01:00
b290cee689 corregit shader water. afegides metadades en els shaders 2025-11-16 16:04:29 +01:00
194726f823 Add self-feedback system and water shader
Features:
- Self-feedback rendering system for shaders with feedback loops
- Automatic FBO/texture management for feedback
- Metadata parser detects iChannel feedback configuration
- Adaptive render loop (with/without feedback)
- Water shader from Shadertoy (adapted and working)
- Fixed variable initialization issues in shader code

Technical details:
- FBO creation/destruction on shader switch
- Texture binding to iChannel0-3 based on metadata
- Auto-resize feedback buffers on window resize
- Cleanup on exit and shader switch

Files:
- src/main.cpp: Feedback system implementation
- shaders/water.glsl: Water shader with fixes

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-16 15:45:18 +01:00
44de2c7013 Add FPS counter, VSync toggle, shader metadata system, and multi-pass infrastructure
- FPS counter in window title (updates every 500ms)
- F4 key toggles VSync on/off
- Shader metadata: Name and Author from comments
- iChannel metadata parsing for multi-pass support
- Base structures: ShaderBuffer, ShaderPass
- FBO/texture management functions
- Updated all 11 shaders with Name/Author metadata

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-16 15:22:06 +01:00
0a269449a3 modificat makefile per a windows_release 2025-10-25 2025-10-25 13:27:25 +02:00
4164cc8e88 modificat el icono 2025-10-25 13:19:25 +02:00
b625916b18 afegit executable path a les rutes 2025-10-25 13:10:41 +02:00
92093e7b3f corregits els makefiles per a macos_release 2025-10-25 13:04:35 +02:00
be8be3a48d afegits elemenys a la carpeta resource 2025-10-25 12:42:59 +02:00
47787abd73 corregit gitignore 2025-10-25 12:12:44 +02:00
fe256704ac Update gitignore to allow release/ DLLs and ignore compiled binaries 2025-10-25 12:07:54 +02:00
8d17b6c047 canvis de shaders al vol amb els cursors 2025-10-25 11:57:37 +02:00
98a16148cc modificada la logica per a fullscreen y window (tecla F3) 2025-10-25 11:42:29 +02:00
f86da327ff corregits cmake i makefile 2025-10-25 11:31:32 +02:00
992dc2c942 actualitzat cmake 2025-10-21 2025-10-21 20:01:53 +02:00
b4d7ae8045 Actualizar README.md 2025-10-21 19:37:55 +02:00
4a339c09d1 afegits altres shaders
pantalla completa
tecla esc
readme.md
2025-10-21 18:38:43 +02:00
bcaa64d22c primer commit 2025-10-21 14:03:22 +02:00