DaMarkov
7d6fa0bfe1
Added a function to switch between .htc and .hts files.
2022-02-14 12:34:41 +01:00
DaMarkov
3e9bafb145
Tiny cleanup.
2022-02-14 06:07:16 +01:00
DaMarkov
6d9ebf6ff3
Some cleanup.
...
Added RELATIVE_PATHS to tell gliden that paths are relative.
Added functions to enabled/disable high res on the fly.
2022-02-14 05:26:00 +01:00
DaMarkov
ebf714f7a5
Added support for texture packs for OOT.
...
Fixed an endian issue in `RiceCRC32`.
Hardcoded in the hyrule day skybox.
2022-02-14 02:13:21 +01:00
Blake Warner
403658b456
used bit 1 to signify segment address lookup
2022-02-10 23:54:51 -05:00
Blake Warner
c5b63481ab
Merge pull request #3 from DaMarkov/gfx-force43
...
Aspect ratio 4:3
2022-02-10 16:50:54 -05:00
DaMarkov
fb108abab7
Fixed an issue when the user is resizing the window while in 4:3 mode.
2022-02-10 22:14:38 +01:00
DaMarkov
455310da1c
Fixed a tiny but important mistake.
2022-02-10 22:07:23 +01:00
DaMarkov
f42ee1e7f8
Added gfx_force_43
to switch the aspect ratio to 4:3 on the fly.
...
I had to add a new method `forceResizeWindow` for this.
Also added NO_LOAD_PROGRESS_DISPLAY.
2022-02-10 21:27:45 +01:00
Blake Warner
88f7de3e2b
Merge pull request #2 from DaMarkov/oot-framebuffer-emulation
...
OOT framebuffer emulation
2022-02-08 12:19:07 -05:00
DaMarkov
19533b5d18
Cleanup and missed on change in FrameBuffer.cpp.
2022-02-08 16:58:56 +01:00
DaMarkov
187d1a9caa
Moved structs into Native.h.
2022-02-08 15:05:07 +01:00
DaMarkov
311608c42d
Used NATIVE compiler flag to make changes for OOT optional.
2022-02-08 14:01:30 +01:00
DaMarkov
e6cdd229fd
Changed the project files back.
2022-02-08 07:27:55 +01:00
DaMarkov
e5332785fc
Changed GLideN64 so it works with framebuffer emulation enabled with OOT.
2022-02-08 03:44:17 +01:00
DaMarkov
dca837e446
Also changed the output folder of the other projects.
2022-02-07 19:05:38 +01:00
DaMarkov
0e86b4314f
Changed output directoy.
...
Directoy is now relative to the project and not the solution.
Needed to add GLidenN64 to different solution files.
2022-02-07 18:10:32 +01:00
Blake Warner
35b278896f
fixed heap overflow
2022-02-05 15:37:51 -05:00
Blake Warner
a054cb622b
stripped unneeded files and changed default config options
2022-01-31 16:41:02 -05:00
Blake Warner
0255e10db6
native port
2022-01-29 17:22:09 -05:00
fzurita
df2d4debbb
Workaround for PowerVR issues
...
PowerVR needs depth to be cleared every frame, otherwise most geometry
is rendered behind the background.
It also needs fragment based depth to be disabled, otherwise geometry
has various depth glitches.
2022-01-16 18:35:05 +07:00
Sergey Lipskiy
30e4d3416b
Minor code cleanup in gSPCullVertices
2022-01-16 18:07:24 +07:00
Sergey Lipskiy
fd29c4386a
Fix renderScreenSpaceTriangles when input vertices represent TRIANGLE_STRIP.
2022-01-16 17:24:49 +07:00
Sergey Lipskiy
e9a6f258af
Apply mask on DMEM address to avoid segmentation fault in Indiana Jones,
...
see #2628
2022-01-08 11:22:42 +07:00
fzurita
6275140109
Fix build with CMake on Windows
2022-01-07 19:05:08 +07:00
Sergey Lipskiy
8343fd05c9
Restore logic for uTexOffset uniform.
...
fixed #2621 Mario tennis broken shadows in accurate path
2021-12-21 00:54:17 +07:00
Sergey Lipskiy
506f263c13
Correct imageW/imageH calculation in ObjCoordinates again.
...
fixes #2617 RE2 bottom of the screen is being cut off
2021-12-19 20:53:09 +07:00
Sergey Lipskiy
b2f3caa1a4
Revert "Shift S2DEX background texture coordinates in non-native resolutions."
...
This reverts commit e0d5b0be7b
.
fixes #2625 Majora's Mask misplaced blur
2021-12-19 20:46:16 +07:00
Sergey Lipskiy
2c8533661b
Fix crash in Mario Tennis, caused by wrong tile size calculation.
...
Regressions in S2DEX games are possible, but not found yet.
Also make sure that size of mip-map tile is not greater than possible.
2021-12-18 23:59:19 +07:00
Sergey Lipskiy
223a6b757b
"Correct" mipmap shader.
...
It was correct, but absence of space between '}' and '\n' makes it working incorrect on Radeons.
Looks like a driver error.
2021-12-18 22:56:10 +07:00
Sergey Lipskiy
7b507e74d4
Correct TextureCache::activateTexture
2021-12-08 20:37:36 +07:00
Sergey Lipskiy
f4fce5608f
Correct mip-map shader for the case when texture level is 0 and detailed texture enabled
2021-12-08 20:37:36 +07:00
orbea
9d0e92a10d
cmake: Generate Revision.h in the build directory
2021-12-06 23:57:51 +07:00
Sergey Lipskiy
727639c8ba
Fix gDP.m_texCoordBounds validity.
2021-12-05 15:18:51 +07:00
s2s
337e96d3b0
Use texture coordinate bounds for s2dex one-piece backgrounds
2021-12-05 15:18:51 +07:00
s2s
75fd353741
Modify implementation of texture coordinate bounds for non-native resolutions.
2021-12-05 15:18:51 +07:00
Sergey Lipskiy
21fe9d5f92
GraphicsDrawer::drawTexturedRect fixes:
...
* remove old hack for clamp/wrap tex coords. It seems that the hack is not necessary anymore.
necessary anymore.
* minor optimization for accurate texture path.
2021-12-05 15:18:00 +07:00
s2s
4e0a4f700c
Remove duplicated uniforms in accurate texture coordinate path.
2021-11-30 11:23:26 +07:00
orbea
6b8b53f633
cmake: Set OpenGL_GL_PREFERENCE
...
Silences a cmake warning for Policy CMP0072 with cmake-3.21.4.
2021-11-30 11:23:03 +07:00
orbea
ea98e44d7f
cmake: Better handling of git
...
This fixes some problems:
* When building out of tree the git command will work in the wrong
directory.
* The user may not actually have git installed.
* The source tree may not actually have the .git directory, for example
when downloading a source archive from github.
2021-11-30 11:21:11 +07:00
orbea
c6fdaa899f
src/GLideNHQ/CMakeLists.txt: Bump cmake version
...
This matches the other cmake files.
2021-11-30 11:18:09 +07:00
orbea
72062a142e
cmake: Better handling of CMAKE_BUILD_TYPE
...
There are four main variable for CMAKE_BUILD_TYPE, 'Debug',
'Release', 'RelWithDebInfo' and 'MinSizeRel'. Additionally
there is 'None' which acts as a plain build.
2021-11-28 23:38:58 +07:00
orbea
e25cb4f111
cmake: Add an install target
2021-11-28 21:32:51 +07:00
s2s
e0d5b0be7b
Shift S2DEX background texture coordinates in non-native resolutions.
2021-11-26 19:14:37 +07:00
s2s
865e9b443e
Fix S2DEX one-piece backgrounds
2021-11-26 19:14:36 +07:00
Rosalie Wanders
62e49b9cdf
ci: fix build failure
2021-11-26 19:05:35 +07:00
Jj0YzL5nvJ
1956f78234
Build script: Adds enhancements for external tools, better differentiation between revisions and debug builds
2021-11-20 17:33:05 +07:00
Sergey Lipskiy
94ce6203b6
Limit max height for main frame buffers by VI.height
...
Fixed #2519 Extreme G picture is shaking / unstable
2021-11-20 17:22:24 +07:00
Sergey Lipskiy
00529a21ed
Add sanity test for current scissor to renderTriangles and renderAndDrawTriangles
2021-11-20 17:20:40 +07:00
Sergey Lipskiy
b0ec6c47b4
Minor code cleanup in Rasterize.
2021-11-20 17:15:26 +07:00