> Hi all, > > I recently moved from Windows to Linux. When trying to apply my MAME HLSL config on > the Linux version, I am getting very different results. > > Some of the shader parameters "Slider Controls" appear to have different value scales > and ranges than in Windows. > > For example, any of the "radial_convergence" values have a greatly amplified impact > on the video. Modifying even by the smallest 0.1 value increment, which in Windows > would be almost visually inperceptable (ie. offset the effect by a single pixel) > instead has the following effect in Linux where the impact on the video is massive: > > radial_convergence_x incremeneted by + 0.1: > > > Another video parameter, "Signal Offset" allows setting a negative value in Windows > MAME, but on Linux the minimal value is zero and so I cannot apply the required > negative value that I use in the config to attain the desired HLSL effect. > > I guess there is probably some way to modify the math/values in the shader files or > something but I didnt know where to start and wondering if anyone else has > experiencing this issue? > > I have tweaked my HLSL settings for years and have it perfected to my preferences and > really eager to replicate it on Linux so if anyone had any suggestions I would > greatly apprecaite it. > > Out of interest, my final base (Windows) HLSL parameters are as follows and many > thanks must go to the folks over at this mammoth forum post as I used a lot of the > tweaks there as my starting point: > > https://shmups.system11.org/viewtopic.php?f=6&t=45026&start=150 > > # > # DIRECT3D POST-PROCESSING OPTIONS > # > hlslpath hlsl > hlsl_enable 1 > hlsl_oversampling 0 > hlsl_write > hlsl_snap_width 2048 > hlsl_snap_height 1536 > shadow_mask_tile_mode 0 > shadow_mask_alpha 0.30 > shadow_mask_texture slot-mask.png > shadow_mask_x_count 16 > shadow_mask_y_count 24 > shadow_mask_usize 1 > shadow_mask_vsize 1 > shadow_mask_uoffset 0.0 > shadow_mask_voffset 0.0 > distortion 0.1 > cubic_distortion 0.0 > distort_corner 0.0 > round_corner 0.05 > smooth_border 0.04 > reflection 0.2 > vignetting 0.1 > scanline_alpha 0.5 > scanline_size 1.0 > scanline_height 1.0 > scanline_variation 1.0 > scanline_bright_scale 1.0 > scanline_bright_offset 1.0 > scanline_jitter 0.05 > hum_bar_alpha 0.0 > defocus 0.0,0.0 > converge_x 0.0,0.0,0.0 > converge_y 0.0,0.0,0.0 > radial_converge_x 2.0,-1.0,0.0 > radial_converge_y 2.0,0.0,1.0 > red_ratio 1.0,0.0,0.0 > grn_ratio 0.0,1.0,0.0 > blu_ratio 0.0,0.0,1.0 > saturation 1.0 > offset -0.34,-0.34,-0.34 > scanline_bright_scale 1.34,1.34,1.34 > power 0.9,0.8,0.65 > floor 0.0,0.0,0.0 > phosphor_life 0.0,0.0,0.0 > chroma_mode 3 > chroma_conversion_gain 0.299,0.587,0.114 > chroma_a 0.64,0.33 > chroma_b 0.30,0.60 > chroma_c 0.15,0.06 > chroma_y_gain 0.2126,0.7152,0.0722 > > > Many thanks for reading and thanks in advance. > > BAM
Edit the default slider values in hlsl.json directly
|