feat: Soporte OpenGL ES 3.1 para Raspberry Pi
- Creados shaders GLSL ES 3.1 (crtpi_*_es.glsl) - Detección automática: intenta cargar ES primero, fallback a Desktop - Windows: pide OpenGL 3.3 Core Profile explícitamente - Linux/RPi: deja que SDL elija (usará OpenGL ES si está disponible) - assets.txt actualizado con shaders ES como opcionales Resuelve problema en RPi 5 donde OpenGL 3.3 Core no está soportado pero OpenGL ES 3.1 sí lo está mediante drivers Mesa/VideoCore.
This commit is contained in:
@@ -74,10 +74,13 @@ SOUND|${PREFIX}/data/sound/voice_recover.wav
|
||||
SOUND|${PREFIX}/data/sound/voice_thankyou.wav
|
||||
SOUND|${PREFIX}/data/sound/walk.wav
|
||||
|
||||
# Shaders
|
||||
# Shaders OpenGL Desktop 3.3 (Windows/Linux)
|
||||
DATA|${PREFIX}/data/shaders/crtpi_vertex.glsl
|
||||
DATA|${PREFIX}/data/shaders/crtpi_fragment.glsl
|
||||
|
||||
# Shaders OpenGL ES 3.1 (Raspberry Pi) - opcionales
|
||||
DATA|${PREFIX}/data/shaders/crtpi_vertex_es.glsl|optional
|
||||
DATA|${PREFIX}/data/shaders/crtpi_fragment_es.glsl|optional
|
||||
# Texturas - Balloons
|
||||
ANIMATION|${PREFIX}/data/gfx/balloon/balloon0.ani
|
||||
ANIMATION|${PREFIX}/data/gfx/balloon/balloon1.ani
|
||||
|
||||
Reference in New Issue
Block a user