|
GLSL Shader Development
#343790 - 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)
|
|
|
|
Re: GLSL Shader Development
[Re: CyberAxe]
#347024 - 11/15/15 06:16 PM
|
|
|
|
|
Re: GLSL Shader Development
[Re: uman]
#347031 - 11/15/15 10:10 PM
|
|
|
|
|
Re: GLSL Shader Development
[Re: MooglyGuy]
#347119 - 11/17/15 05:51 PM
|
|
|
hi i updgrade from hlsl to glsl in mame , i install crt geom now i want to edit the settings , how do i do that ? there is no options in glsl like hlsl to edit scanline settings color and gamma
|
|
|
|
Re: GLSL Shader Development
[Re: jonnytracker]
#347122 - 11/17/15 07:29 PM
|
|
|
You're asking in the wrong place. Try EmuChat. This area is specific to programming, and won't get seen by anyone who can answer your question.
|
---
Try checking the MAME manual at http://docs.mamedev.org
|
|