CG Shaders Test w VitaGL

  Рет қаралды 256

Ignore Solutions

Ignore Solutions

2 жыл бұрын

*WARNING, RAPIDLY CHANGING IMAGES MAY TRIGGER SOME*
This really isn't anything particularly useful or interesting, just showing off some performance scaling some quads using vitaGL & CG Shaders. Special thanks to Rinnegatamante for not only *making* vitaGL but being very patient and answering my many questions. You guys should really support him and all the amazing work he does for the Vita community.
The renderer was created with the idea of not using any legacy OpenGL functions. The matrix math is handled by a port of cglm and is quite performant (I believe it's being compiled with math-neon support, as is vitaGL). Instead of draw calls immediately drawing to the screen, they're queued into a small array (about 0.15mb fully allocated) and OpenGL is given the data offsets & stride.
After this is when it gets a bit inefficient. I needed the renderer to handle lots of state changes, so each quad is being drawn with its own glDrawArrays call. I'm also not using an IBO due to the need to make these state changes.
Though quite fast because the data is already on the GPU, lots of rapid state changes can make TheXTech crawl to 17-20 FPS. The solution to this may be dynamically atlas-ing the loaded textures, but this is an exercise for another time. Proper atlasing of all these small textures on a 4096x4096 texture buffer would allow me to use IBOs and draw everything in one fell swoop.
github.com/suicvne
github.com/suicvne/vitaGL_sha...
github.com/Rinnegatamante/vitaGL
github.com/Rinnegatamante
github.com/suicvne/cglm_vita
github.com/recp/cglm

Пікірлер: 3
@fernandolugo7410
@fernandolugo7410 2 жыл бұрын
Any notice about Super Mario Bross X??, this proyect is amazing!!!!!!!!!!!!!!!!!!!,
@IgnoreSolutions
@IgnoreSolutions 2 жыл бұрын
this is for it! But it didnt increase speed as much as I hoped in practice. I’m also still having trouble getting any sound to work. Check the description for more info^ i wrote a fairly in depth description of the problem.
@fernandolugo7410
@fernandolugo7410 2 жыл бұрын
@@IgnoreSolutions okey thaks bro, really you're amazing, great work!!!
You should hack your PS Vita... | MVG
9:42
Modern Vintage Gamer
Рет қаралды 220 М.
I Made a Graphics Engine (again)
8:27
Zyger
Рет қаралды 161 М.
Khó thế mà cũng làm được || How did the police do that? #shorts
01:00
아이스크림으로 체감되는 요즘 물가
00:16
진영민yeongmin
Рет қаралды 55 МЛН
БОЛЬШОЙ ПЕТУШОК #shorts
00:21
Паша Осадчий
Рет қаралды 10 МЛН
Darum sind GameBoy Spiele 2024 so gut! 😍
7:27
Felixba
Рет қаралды 195 М.
Can a 13 Year Old Wii Run Minecraft?
9:17
Zacca
Рет қаралды 357 М.
Building The Ultimate PS Vita Set Up In 2022!
9:40
Tech Summit
Рет қаралды 119 М.
Mitsubishi's Windows 95 Tablet
17:42
Michael MJD
Рет қаралды 436 М.
Games Where You're NOT the Main Character
14:52
i am a dot.
Рет қаралды 2 МЛН
The world is awful. The world is much better. The world can be much better.
7:33
The Biggest Myth in Speedrunning History
19:37
LunaticJ
Рет қаралды 1,1 МЛН
Xbox Pulls the Plug 🥲
15:23
Austin Evans
Рет қаралды 233 М.
[Video Soundtrack] Tetra Master [FINAL FANTASY IX]
3:42
SQUARE ENIX MUSIC Channel
Рет қаралды 2,5 М.
How To Use A PS4 Controller On PS Vita FAST & EASY
5:33
Blaine Locklair
Рет қаралды 61 М.
ИГРОВОВЫЙ НОУТ ASUS ЗА 57 тысяч
25:33
Ремонтяш
Рет қаралды 354 М.
Собери ПК и Получи 10,000₽
1:00
build monsters
Рет қаралды 2,5 МЛН
Samsung Galaxy 🔥 #shorts  #trending #youtubeshorts  #shortvideo ujjawal4u
0:10
Ujjawal4u. 120k Views . 4 hours ago
Рет қаралды 4,7 МЛН