Commit graph

33 commits

Author SHA1 Message Date
JetSetIlly
c6a859d1c6 renamed bilinear filter to ghosting filter
ghosting filter is now only applied horizontally

added ghosting options to CRT preferences
2021-07-20 22:17:46 +01:00
JetSetIlly
e60e8f2767 default unsync tolerance is now 2 frames 2021-07-03 10:58:11 +01:00
JetSetIlly
c3d9cc6b0b Screen Roll/Unsync tolerance definable in CRT Prefs window 2021-06-27 18:20:35 +01:00
JetSetIlly
be7396458f added scanlines/shadowmask fine controls
altered limits in GUI for scanlines/shadowmask brightness
2021-06-14 09:54:39 +01:00
JetSetIlly
9ac1a7cf50 CRT image sharpness control
update CRT prefs screenshot for README
2021-06-07 09:50:06 +01:00
JetSetIlly
df7180bc25 phosphor bloom now editable in prefs window
definable fade when CRT effects are disabled
2021-05-01 19:53:20 +01:00
JetSetIlly
9181205399 phosphor will work even without CRT effects
more work to make the preferences surrounding this more logical
2021-05-01 19:53:20 +01:00
JetSetIlly
07240c6082 curve amount adjustable
color aberration effected by curve

blur textures clamped
2021-05-01 19:53:20 +01:00
JetSetIlly
157784e101 CRT effect refinement
bluring renamed to fringing (more accurate)

scanlines and fringing are now curve sensitive

some preferences are now working correctly - not complete
2021-05-01 19:53:19 +01:00
JetSetIlly
fbe4ba5bd8 added flicker CRT preference 2021-05-01 19:53:19 +01:00
JetSetIlly
96b4fc7da9 readded dbgscr shaders. including overlay shader.
elements texture is now drawn (debugcolours) instead of the main dbgscr,
rather than overlaying it.
2021-05-01 19:53:19 +01:00
JetSetIlly
67a1f43104 shaders are now imported using the Go embed system
rather than pass configuration details to the shader, different shaders
will be run depending on the configuration. this will make for simpler
shaders and less room for error.

CRT shaders not currently active while we figure out how to do this
properly by chaining fragment shaders.
2021-05-01 19:53:19 +01:00
JetSetIlly
e1ed563ea9 overlay selection is now in a popup
added colour key. potential for much more information.
2021-02-26 14:22:19 +00:00
JetSetIlly
d6463e0dae lint errors 2021-02-24 06:59:30 +00:00
JetSetIlly
84372f6bc5 crop guides in debug screen refined
more pleasing colour and are now drawn on the outside of the boundary
and not the inside of the bounday. as it was, the guide could obscure
pixels drawn on the very edge of the screen.
2021-01-19 17:34:43 +00:00
JetSetIlly
ce7d724a02 fixed lint errors 2021-01-19 10:03:27 +00:00
JetSetIlly
e3bb2b023e television resizing less aggressive
resizer counts N frames (currently 5) before committing to a resize.
this gives the ROM change to expand the screen slowly without any visual
side-effect. the supercharger BIOS expands noticeably without this
mechanism.

fixed off by one error for Ladybug and Hack'Em Pacman (and probably
others)

missing doc files for crt and crt/shaders packages
2021-01-18 23:37:57 +00:00
JetSetIlly
a3c0fca9f9 fixed blur in playmode
broken in 364fef5228

tweaked phosphor strength in fragment shader
2021-01-18 13:47:48 +00:00
JetSetIlly
7060d09603 phosphor now appears in CRT preferences preview image
preview image in CRT prefs window is now draggable

reworked glsl and fragment shader to clarify some concepts
2021-01-12 23:34:58 +00:00
JetSetIlly
7b7f046342 crt prefs shows descriptive values instead of numeric values
tweaked default values for crt
2021-01-11 17:40:52 +00:00
JetSetIlly
ae9bc23836 fixed fragment shader for MacOS
shaders are no self contained and compilable with glslangValidator

glsl constants extracted from shader source by go generator
2021-01-11 06:42:44 +00:00
JetSetIlly
7b6fc85959 added phosphor effect to CRT emulation
removed imput/output gamma preferences

removed scanline/shadowmask scaling preference
2021-01-10 21:03:50 +00:00
JetSetIlly
b16b59291a television pauses rendering on rewind
replacement for GuiStateRewinding request removed in previous commit

particularly effective when rewind snapshot frequency is greater than
one frame

colorterm should now work correctly with RawEvents and RawEventImm (I
don't really use colorterm anymore but this corrects an oversight)
2021-01-03 11:39:27 +00:00
JetSetIlly
c22caf852b CRT blur (very basic chromatic aberration)
blur options added to CRT prefs window

CRT prefs now accessible from playmode (F10)
2021-01-01 14:29:46 +00:00
JetSetIlly
c25f7aec4d removed "animated" screen cursor effect from debugger
it does not play nice with the new delay procedure in the service loop
2020-12-30 20:45:07 +00:00
JetSetIlly
2b75a50b8d shader generator outputs constants in sorted order
stops "go generate" from producing an altered file when in fact nothing
has changed.
2020-12-30 20:45:07 +00:00
JetSetIlly
2c5cf7f79a CDF format. support for all versions except CDFJ+
DPC+ updated to support changes to ARM package

PlusROM host/path detection size limited
2020-12-30 20:45:07 +00:00
JetSetIlly
17d743632d updated README
added CRT prefs screenshot
2020-11-28 19:17:29 +00:00
JetSetIlly
cbe351c33d go constants inserted into generated glsl
makes code clearer and less likely to be wrong
2020-11-28 12:50:30 +00:00
JetSetIlly
0e4737b326 rework of sdlimgui package
removed options related to setting scale of debug/play window
    - can be done more effectively window controls

preference initialisation for debug and play modes is more clear
    - removed errant playmode setting (terminalOnError - not applicable)

simplified window management

nicer feedback on rewind slider
2020-11-27 18:31:23 +00:00
JetSetIlly
38f5a77df9 crt preferences window shows scaled image of CRT
added mask/scanlines scaling option

default noise level reduced

reduced noise level range in preferences window
2020-11-20 15:11:11 +00:00
JetSetIlly
d110a08a64 logging of rewind boundary events
result of changing rewind maxentries value displayed correctly in win_control

timer randomised on startup (if preference selected)

changing symbols preference updates disasm window vertical alignment

file selector:
    - scrolls to top on directory change
    - centres on current ROM when first opened

help note for the -state flags (REGRESS ADD)

changed default window position for timer window
2020-11-19 08:21:28 +00:00
JetSetIlly
65c149c934 added crt preferences 2020-11-18 23:01:06 +00:00