MAMEWorld >> Programming
View all threads Index   Flat Mode Flat  

CyberAxe
Nerd
Reged: 04/10/04
Posts: 285
Loc: Scotland
Send PM
GLSL Shader Development
08/10/15 04:11 PM


Does anyone know where I can find documentation for MAME GLSL Shader Development?

I've tried looking through some GLSL Shaders i managed to find for MAME to use as a starting point but having no prior shader experience I'm not sure how it works.

Is the Main(), applied once per pixel? and is it possible to itterate through the source texture in native RGB format before its converted to floats?

Any info would be appreciated.

Edit
---

I've been playing around with it for a few days now and i've found http://git.redump.net/mess/plain/src/osd/sdl/shader/docs/PluggableShader.txt

which seems to partially be applicable

however the differences from the official mame implementation seem to be that mame-bmps are screen stretched already? as i can apply output based on the screen position and it's pixel perfect to the screen

and it seems to ignore the lut's and only uses the rgb32

I dont care about the lut support, but the fact that i cant work at the original mame-bmp res os rather inefficient

This could be due to mame settings as there's no documentation i can find for the official mame still, on the subject




Edited by CyberAxe (08/13/15 12:38 PM)







Entire thread
Subject Posted by Posted on
* GLSL Shader Development CyberAxe 08/10/15 04:11 PM
. * Re: GLSL Shader Development uman  11/15/15 06:16 PM
. * Re: GLSL Shader Development MooglyGuy  11/15/15 10:10 PM
. * Re: GLSL Shader Development jonnytracker  11/17/15 05:51 PM
. * Re: GLSL Shader Development Firehawke  11/17/15 07:29 PM

Extra information Permissions
Moderator:  Pi 
0 registered and 4 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 2620