1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-07 03:13:49 +00:00
Commit Graph

3577 Commits

Author SHA1 Message Date
Sergey Lipskiy
d29c149515 Fix MupenPlus port: Use MupenPlus style Video initialization. 2015-05-13 10:12:14 +06:00
Sergey Lipskiy
aba7a97594 VS 2010 mupenplus project 2015-05-13 10:12:13 +06:00
Sergey Lipskiy
c685853874 Add MupenPlus profile for VS 2005 project 2015-05-13 10:12:12 +06:00
Sergey Lipskiy
61ff69847a Add FB settings to mupen config. 2015-05-13 10:12:12 +06:00
Sergey Lipskiy
3ec5e21647 Fix windows compilation for Mupen64Plus 2.0 2015-05-13 10:12:11 +06:00
Sergey Lipskiy
277b26cec2 Fix DepthBuffer_ClearBuffer() broken in commit fd478866.
Fixed fog issue in BAR.
2015-05-13 10:12:10 +06:00
Sergey Lipskiy
28a1d19458 Correct color and alpha dithering.
Fixed regression in Zelda MM motion blur, introduced in commit 25c04829.
2015-05-13 10:12:10 +06:00
Sergey Lipskiy
a3f9fe2186 Disable scissor in FrameBuffer_RenderBuffer(). 2015-05-13 10:12:09 +06:00
Sergey Lipskiy
adc8473f98 Fix texture coordinates calculation for frame buffer textures.
Shadows in Mario Tennis fixed.
2015-05-13 10:12:08 +06:00
Sergey Lipskiy
47d322741d Correct condition for calling Combiner_UpdateAlphaTestInfo(). 2015-05-13 10:12:08 +06:00
Sergey Lipskiy
c282045c27 Fix combiner for G_CYC_FILL cycle type.
That fixes regression in frame buffer backgrounds in Mario Tennis.
2015-05-13 10:12:07 +06:00
Sergey Lipskiy
b220cb6e84 Fix combiner inputs detection for second stage. 2015-05-13 10:12:06 +06:00
Sergey Lipskiy
e784ea7205 GLES2 fixes in frame/depth buffer initialization. 2015-05-13 10:12:05 +06:00
Sergey Lipskiy
14168d3ddc Fix compilation issues in shaders. 2015-05-13 10:12:05 +06:00
Sergey Lipskiy
0144af7cc0 Remove update of frame buffer and depth related uniforms from GLSLCombiner::UpdateColors. 2015-05-13 10:12:04 +06:00
Sergey Lipskiy
898a189f89 Fixed Combiner_UpdateCombineFBInfo() call. 2015-05-13 10:12:03 +06:00
Sergey Lipskiy
c95bb33216 Correct frame buffer height calculation in FillRect.
It was broken in commit a9064e14f3a40

Mario Tennis works again.
2015-05-13 10:12:03 +06:00
Sergey Lipskiy
16bd31388e Fix scissor. 2015-05-13 10:12:02 +06:00
Sergey Lipskiy
994e961db2 Correct alpha compare and alpha/color dither with noise. 2015-05-13 10:12:01 +06:00
Sergey Lipskiy
dd522d123c Correct SDL surface pixelformat detection. 2015-05-13 10:12:01 +06:00
Sergey Lipskiy
25e9bdb301 Remove OGL_UpdateScale() call from OGL_Start(). 2015-05-13 10:12:00 +06:00
Sergey Lipskiy
88c9eb4419 Correct config load for Android. 2015-05-13 10:11:59 +06:00
Sergey Lipskiy
51505d99a0 Add includes for Android build. 2015-05-13 10:11:59 +06:00
Sergey Lipskiy
46560797b1 Add Windows declaration for glDepthRangef and glClearDepthf. 2015-05-13 10:11:58 +06:00
Sergey Lipskiy
79a5a140fe Make shaders GLES2 compatible. 2015-05-13 10:11:57 +06:00
Sergey Lipskiy
f95c7e4af0 Correct tag in LOG. 2015-05-13 10:11:57 +06:00
Sergey Lipskiy
97e45b1de0 Switch back to Orkin's method of setting depth paramethers. 2015-05-13 10:11:56 +06:00
Sergey Lipskiy
40e42fc4bd Correct depth_compare() shader. 2015-05-13 10:11:55 +06:00
Sergey Lipskiy
84b3f74bea Corrected depth compare enabling with N64DepthCompare. 2015-05-13 10:11:55 +06:00
Sergey Lipskiy
6fbb1076d1 Fix shadow map program initialization:
missing attribute location binding.
2015-05-13 10:11:54 +06:00
Sergey Lipskiy
a234cd3471 Switch to Orkin's blend function. Rice's one has problem with transparency in BAR. 2015-05-13 10:11:53 +06:00
Sergey Lipskiy
5bc5c21e34 Fix set uK4 and uK5 unioforms. 2015-05-13 10:11:53 +06:00
Sergey Lipskiy
f591a3a162 Use uniform variable instead of gl_Fog.color in shadow_map_fragment_shader 2015-05-13 10:11:52 +06:00
Sergey Lipskiy
de7684827f Use GLES2 compatible texture types. 2015-05-13 10:11:51 +06:00
Sergey Lipskiy
1011be1827 Fix (hopefuly) swap buffer on Android. 2015-05-13 10:11:50 +06:00
Sergey Lipskiy
215a15f0df Add missing interface function. 2015-05-13 10:11:50 +06:00
Sergey Lipskiy
024ab902dd Minor fix in Android.mk 2015-05-13 10:11:49 +06:00
Sergey Lipskiy
3e16b56a32 Add sdl_compat.h 2015-05-13 10:11:48 +06:00
Sergey Lipskiy
df07210454 Disable unused(?) frame buffer statuses. 2015-05-13 10:11:48 +06:00
Sergey Lipskiy
f68492f448 Fix OGL_ReadScreen for GLES2. 2015-05-13 10:11:47 +06:00
Sergey Lipskiy
2a991ed741 Disable glMemoryBarrier call for GLES2 2015-05-13 10:11:46 +06:00
Sergey Lipskiy
6c2c90b097 Remove glDepthRange use.
Code format.
2015-05-13 10:11:46 +06:00
Sergey Lipskiy
249338ac64 Fix GLES2 OGL initialization . 2015-05-13 10:11:45 +06:00
Sergey Lipskiy
a636842d50 Fix OGL.bImageTexture initialization for GLES2 2015-05-13 10:11:44 +06:00
Sergey Lipskiy
03fffbd759 Reemove GLInfo.maxTextureUnits usage 2015-05-13 10:11:44 +06:00
Sergey Lipskiy
e8e1515fa6 Fix TransformVectorNormalize().
Fixed Mario's red eye caused by incorrect work of TransformVectorNormalize()
2015-05-13 10:11:43 +06:00
Sergey Lipskiy
7d195d7202 Code cleanup in Normalize() 2015-05-13 10:11:42 +06:00
Sergey Lipskiy
bf168bad0c Fix crash on loadstate. 2015-05-13 10:11:42 +06:00
Sergey Lipskiy
7166d0aacf Fix hardware lighting. 2015-05-13 10:11:41 +06:00
Sergey Lipskiy
af839dfa90 Attempt to fix noise. 2015-05-13 10:11:40 +06:00