View Single Post
Old 03 October 2016, 22:01   #11
mark_k
Registered User
 
Join Date: Aug 2004
Location:
Posts: 2,480
I think I got an effect close to what I'm after by using this shader: http://www.si-gamer.net/gulikoza/src/point.fx

Using that unmodified there was an error in the WinUAE log, so I changed
VertexShader = compile vs_1_1 VS();
PixelShader = compile ps_1_1 PS();

to
VertexShader = compile vs_2_0 VS();
PixelShader = compile ps_2_0 PS();

after which it seemed to work OK.

I put point_modified.fx as the -4 entry in filter settings, 2x in the box next to that. Extra settings set to bilinear (that applies to the final (null?) shader which WinUAE applies).

Some screenshots are attached:
  • Original_unscaled.png (9776 bytes) - unscaled image
  • WinUAE_1.5x_null_bilinear.png (206293 bytes) - WinUAE display with only null filter, 1.5x scaling, bilinear
  • WinUAE_2x_point_1.5x_null_bilinear.png (141669 bytes) - WinUAE display with 2x point.fx shader then null filter bilinear to 1.5x (less blurry)
  • mtpaint_2x_to_1.5x_bilinear.png (25706 bytes) - Original image, scaled up to 2x (point) then down to 1.5x bilinear with mtpaint paint package
  • mtpaint_3x_to_1.5x_bilinear.png (23326 bytes) - Original image, scaled up to 3x (point) then down to 1.5x bilinear with mtpaint.

Note the much smaller file sizes for the mtpaint-created images. That's because they only use a small number of colours. For whatever reason the WinUAE-filter images have more than 256 different colours in them.
Attached Thumbnails
Click image for larger version

Name:	Original_unscaled.png
Views:	40
Size:	9.5 KB
ID:	50289   Click image for larger version

Name:	WinUAE_1.5x_null_bilinear.png
Views:	37
Size:	201.5 KB
ID:	50290   Click image for larger version

Name:	WinUAE_2x_point_1.5x_null_bilinear.png
Views:	40
Size:	138.3 KB
ID:	50291   Click image for larger version

Name:	mtpaint_2x_to_1.5x_bilinear.png
Views:	47
Size:	25.1 KB
ID:	50292   Click image for larger version

Name:	mtpaint_3x_to_1.5x_bilinear.png
Views:	33
Size:	22.8 KB
ID:	50293  

Attached Files
File Type: zip Config_and_shader.zip (4.1 KB, 19 views)

Last edited by mark_k; 03 October 2016 at 22:10.
mark_k is offline  
 
Page generated in 0.37073 seconds with 10 queries