summaryrefslogtreecommitdiffstatshomepage
path: root/hlsl/artwork_support
Commit message (Collapse)AuthorAgeFilesLines
* Quality and Performance improvements ImJezze2016-02-202-642/+0
| | | | | | | | | | | | | | | | | | | | | | - HLSL now uses NPOT sized target surfaces (breaks compatibility with graphics cards based on R300/R400/NV30 and older) - HLSL target surfaces now have the size of the screen canvas - removed HLSL pre-scale factor - HLSL now uses a sharp bilinear interpolation to pre-scale textures to screen canvas size, based on [Themaister's] implementation - improved overall performance (based on the previously required pre-scale factor, you might notice a 5-50% speed-up depending on your graphics card, more if you used a higher pre-scale factor) - improved shadow mask quality (pixel-perfect) in screen-mode - fixed half source texel offset of bloom level alignment - removed ./hlsl/artwork_support folder - all shaders after pre-scale are now based on screen coordinate (workaground, till both raster and vector pass can work on texture coordinates) - disabled distortion shader for more than one screen and for artworks in full mode, does not affect artworks in copped mode (workaground, till both raster and vector pass can work on texture coordinates) - moved compute_texture_size() from texture_info to texture_manager (nw)
* Improved Scanline Simulation ImJezze2016-02-071-10/+16
| | | | | | | | | | - changed the amount of scanline darkness, a setting of 1.0 now becomes fully black (to get the same result as before half your current setting) - scanline height now depends on the brightness of the underlying color - the amount of the scanline brightness and overdrive now depends on the scanline darkness - renamed 'Scanline Screen Height' to 'Scanline Screen Scale' and 'Scanline Indiv. Height' to 'Scanline Height'
* Fixed missing const (nw) ImJezze2016-01-261-0/+1
|
* NTSC Refactoring and Options ImJezze2016-01-251-8/+22
| | | | | | | | | | | | | | - merged YIQ encode and decode pass into one NTSC pass - added options for most NTSC settings - reduced sample count to 64 - changed default O value to 0 - fit NTSC signal jitter between a reasonable limit of 0 and 1 - fit A and B value between a reasonable limit of -1 and 1 - fit scanline jitter between a reasonable limit of 0 and 1 - added hum bar simulation based on [MooglyGuy's] GLSL port of the mame shader pipeline - added monochrome-chessboard.png - added slot-mask-aligned.png (to simulate a TFT LCD)
* Refactoring ImJezze2015-12-311-20/+13
| | | | | | | | | | | | - replaced shader parameters OrientationSwapXY xor RotationSwapXY by SwapXY - made shader parameters SourceDims, SourceRect, TargetDims, ScreenDims, QuadDims and SwapXY available for all shaders - color convolution, defocus and phosphor pass will now be skipped if all influencing parameters are 0 - removed unused bloom_texture and bloom_target arrays from cache_target class - fixed half texel offset in prescale.fx
* Cleanup (nw) ImJezze2015-12-312-7/+13
| | | | - removed unused pincushion.fx
* Cleanup (nw) ImJezze2015-12-261-11/+17
| | | | | | - renamed shadow_mask_type to shadow_mask_tile_mode - renamed bloom_type to bloom_blend_mode - implemented "Source" shadow mask tile mode for artwork_support/post.fx
* Cleanup (nw) ImJezze2015-11-181-1/+1
| | | | - removed some tabs at line ends
* Cleanup ImJezze2015-11-181-1/+1
| | | | | | | | - fixed not used HLSL settings from <custom>.ini if MAME was started without driver parameter - removed default values from HLSL sliders, the defaults here are more like null values to hint when an effect would be disable - slightly changed default HLSL settings
* Changed screen adjustment for HLSL ImJezze2015-11-171-5/+47
| | | | | | | | - screen adjustment (scale, offset) can now be handled by the respective render API itself (default behavior is as before) - D3D (if HLSL) is activated handles screen adjustment by itself within the shader, which fixes the odd behavior of some effects (e.g. round corners) when screen scale and offset is used
* Small Fixes ImJezze2015-10-201-13/+18
| | | | | | - fixed position of reflection effect for vector graphics - fixed size of rounded corners - fixed very small black border
* Fixed Aspect Ratios ImJezze2015-10-191-10/+11
| | | | - fixed aspect ratios in special post.fx shader for artwork support
* Artwork Support ImJezze2015-10-182-0/+568
- added special post.fx and distortion.fx shader, which support enabled artworks, but they cannot apply some of the previously implemented corrections (e.g. bloom staircase artifacts when screen is curved, elliptic rounded corners when aspect ratio is not 4:3)