Alexis Maiquez
e16d54bba3
Added an extra path for background loading
...
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2022-12-05 10:36:42 +01:00
Alexis Maiquez
6f570be911
g_ModelViewProjectionMatrix should now have the right values for passes (fixes sun not displaying properly in 2882477794)
...
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2022-11-11 17:09:47 +01:00
Alexis Maiquez
f4ccf40e14
Fixed background scaling (should improve #81 )
...
Added some more debug information for renderdoc
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2022-11-06 12:48:55 +01:00
Alexis Maiquez
087a0976ae
Added support for taking a screenshot after wallpaper's up (useful for pywal and other ricing rools)
...
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2022-11-05 11:00:51 +01:00
Alexis Maiquez
fa67fa5b00
Fixed bloom effect not being properly applied
...
Added support for userparameter on the clearcolor of the scene
Scenes should draw into the full framebuffer
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2022-11-05 10:50:55 +01:00
Alexis Maiquez
56ebb78287
Fix videos being flipped vertically (missed from last commit)
...
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2022-11-04 19:09:29 +01:00
Alexis Maiquez
672ea47d23
Bumped up to OpenGL 3.3
...
Added base VAO
Fixed scene image align issues and things being flipped vertically under specific situations
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2022-11-04 18:41:23 +01:00
Alexis Maiquez
0843f69edf
Fix some backgrounds appearing flipped upside down, bloom effect now renders directly into the _rt_FrameBuffer as the flip happens after the scene is drawn completely
...
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2022-11-04 11:28:10 +01:00
Alexis Maiquez
ed1efdcd66
Added parsing for text properties
...
Simplified how passes rendering works and separated it into a two stages process
Setup (prepares shaders, uniforms, attributes, etc)
Render (only performs the actual rendering)
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2022-11-04 10:16:15 +01:00
Alexis Maiquez
d8d05363a9
Implemented proper alignment for images
...
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2022-11-04 10:13:01 +01:00
Alexis Maiquez
b32275052f
Clarify xrandr and de compatibility a little bit more
...
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2022-11-04 00:39:24 +01:00
Alexis Maiquez
08586dcab6
Added some extra debugging for when glewInit fails, should make it easy to debug #128
...
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2022-11-04 00:37:31 +01:00
Alexis Maiquez
aa755bb221
Fixed scale for FBOs should default to 1
...
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2022-11-04 00:21:04 +01:00
Alexis Maiquez
691ac42e85
Added small helper to get user-customizable settings with defaults
...
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2022-11-04 00:04:05 +01:00
Alexis Maiquez
e24c19ff81
Added Missing braces that caused crashing on non-bloom backgrounds
...
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2022-11-03 23:34:21 +01:00
Alexis Maiquez
b5b7824233
Better approach on rendering the bloom effect, uses one less draw call
...
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2022-11-03 23:32:49 +01:00
Alexis Maiquez
cdaebbe893
Added support for camera bloom
...
Added support for virtual files
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2022-11-03 23:07:13 +01:00
Alexis Maiquez
625397ea0c
Added a basic (and somewhat convincing) parallax effect for the camera
...
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2022-11-03 18:43:05 +01:00
Alexis Maiquez
c13d743022
Container access should happen through CContext
...
Textures now have a cache system that prevents loading them more than once
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2022-11-03 14:27:05 +01:00
Alexis Maiquez
5521e90155
Ignore composelayers for now
...
Added support for color blend mode
Main pass' blendmode should be normal
Last pass' blendmode should be the first's
Fixed order of glClear's so _rt_FullFrameBuffer is the right color at the right time
Simplified effect and pass creation code a bit more
Non-visible images should render the full chain into the pingpong framebuffers instead of to screen
Fixed an integer division not producing float numbers
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2022-11-03 13:14:52 +01:00
Alexis Maiquez
261bc696df
Added some object labels in opengl so they're reflected on RenderDoc while on debug
...
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2022-11-02 09:28:42 +01:00
Alexis Maiquez
69657a0014
Ignore effects if there's none in the list
...
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2022-11-01 21:38:12 +01:00
Alexis Maiquez
4641420bb3
Fix image's GBO's not being the right size
...
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2022-11-01 21:12:30 +01:00
Alexis Maiquez
082af30c63
Cleanup of rendering code for images, there's functions not needed anymore
...
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2022-11-01 05:43:18 +01:00
Alexis Maiquez
e377960a87
Fix red textures being distorted
...
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2022-11-01 05:04:06 +01:00
Alexis Maiquez
7e6cb9a458
Simplified image rendering code further
...
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2022-11-01 04:00:34 +01:00
Alexis Maiquez
cb6f05ff27
Simplified image rendering code a bit so it's easier to follow
...
Improved detection of macros for shaders
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2022-10-31 12:09:14 +01:00
Alexis Maiquez
157966a528
Move glClear to the common point before the actual render of an image
...
Added work in progress reverse engineering of MDL files
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2022-10-31 07:05:22 +01:00
Alexis Maiquez
da6dca0473
Added missing glClear for simple images
...
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2022-10-29 14:03:05 +02:00
Alexis Maiquez
c9f8624b8b
Reduced amount of glClears used in the rendering process
...
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2022-10-29 14:02:10 +02:00
Alexis Maiquez
a13d2f265b
Fixed regression for spritesheets not working properly
...
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2022-10-28 18:43:12 +02:00
Alexis Maiquez
7b7d699371
Implemented proper dependency detection for images
...
Simplified texture decision graph and preload it so render is quicker
Improved material detecion on shaders
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2022-10-28 18:21:29 +02:00
Alexis Maiquez
9ff33ef61f
Support for specifying FBOs texture flags
...
Further improvements on detection of combo values for shaders
Support for detecting visibility settings on effects
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2022-10-28 15:45:35 +02:00
Alexis Maiquez
4d5cdf57b2
First attempt at automatically detect orthographic projection's size
...
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2022-10-28 09:29:56 +02:00
BarbosaRT
23585e4a07
Update README.md
2022-10-28 08:12:49 +02:00
BarbosaRT
3f85187f10
Commands added to README
...
I added some commands to make the installing easier
2022-10-28 08:12:49 +02:00
Alexis Maiquez
597e3035ad
Added missing include in main.cpp
...
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2022-10-28 07:41:50 +02:00
Alexis Maiquez
1b1bec879d
Added missing code for previous video FPS settings
...
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2022-10-28 07:38:57 +02:00
Alexis Maiquez
94777fc34b
Added support for packages PKGV0017
...
Changed how some properties are loaded to provide default values
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2022-10-28 06:21:21 +02:00
Alexis Maiquez
ab308b2c63
Improve texture size detection to prevent possible crashes on normal textures (not wpengine textures)
...
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2022-10-28 05:17:26 +02:00
Alexis Maiquez
70d815c183
Properly detect texture sizes so effects using smaller mask textures are properly applied
...
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2022-10-28 05:06:21 +02:00
Alexis Maiquez
4e3254e843
Improved detection of "previous" textures (fixes 2370927443)
...
Added support for PKGV0018
Try to prevent crashing when shaders do not compile and go with whatever can be displayed
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2022-10-26 09:09:13 +02:00
Alexis Maiquez
2a6f7b778e
Update readme with new binary name
...
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2022-08-24 03:30:34 +02:00
Alexis Maiquez
91d8dbdaec
Update binary name and provide a rudimentary fallback for old binary name (unsupported)
...
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2022-08-24 03:28:36 +02:00
Alexis Maiquez
8955ba791c
Bumped up shader version to 150 (work on shaders not compiling for #115 and #117 )
...
Improved jsonFindDefault to not crash when the value types do not match (should partially fix #116 )
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2022-07-15 12:20:12 +02:00
Alexis Maiquez
d6561268d6
Added support for gifscene.pkg files (essentially the same as normal scene.pkg) fixes startup of #118
...
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2022-07-14 22:29:11 +02:00
Alexis Maiquez
09effd0303
CFBO frame dummy values added
...
Added combo properties support
Bumped up GLSL version to 130 and added some extra definitions
This work goes on to #115 , although the background won't start up yet because of shader compilation issues
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2022-07-14 22:12:46 +02:00
Alexis Maiquez
4561f5ca7f
Raised minimum cmake version to 3.12, should fix errors about add_compile_definitions
...
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2022-07-14 20:01:41 +02:00
Alexis Maiquez
ec6164c4cf
~ fix audio thread not stopping when a signal for stopping is received
...
should fix #107
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2022-06-10 14:19:46 +02:00
Alexis Maiquez
e5ef7bd53e
~ updated shader compiler to look for the first function, not just main
...
should fix #106
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2022-06-10 14:04:22 +02:00