1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-07 03:13:49 +00:00
GLideN64/src
Sergey Lipskiy d506d6134d Set vertex alpha for texrect to 1.
This is actually a hack. Rect functions use vertex color and alpha set to zero.
This hack is done to fix issue #721 in Pokemon Stadium 2. The game uses
texrects to render images in the auxiliary buffer. The texrects use SHADE
for alpha combiner. Since alpha is zero, the rendered image in the auxiliary buffer
has zero alpha. When the auxiliary buffer is used as texture, it is blended with
background, and zero alpha makes it invisible. I set vertex alpha to 1 to avoid it.

When N64 saves pixel to 16bit frame buffer, it uses pixel coverage for alpha value to store,
not calculated pixel's alpha. Thus, on real N64 the auxiliary buffer will have
full alpha and blending will not make it invisible. Thus, true emulation will
require pixel coverage calculation and shader-based blending.
2015-09-25 19:34:41 +06:00
..
common Fix texture filter init/shutdown: 2015-08-17 15:42:40 +06:00
GLES2 Fix compilation of GLSLCombiner_gles2.cpp 2015-09-24 19:01:51 +06:00
GLideNHQ Update xBRZ texture filter to version 1.4 2015-08-17 15:37:15 +06:00
GLideNUI Remove ValidityCheckMethod from config and UI. 2015-08-27 19:44:19 +06:00
inc Update Mupen64Plus interface headers. 2015-05-14 11:27:44 +06:00
mupenplus Remove ValidityCheckMethod from config and UI. 2015-08-27 19:44:19 +06:00
OGL3X Do not init NoiseTexture is noise emulation option is disabled. 2015-09-21 21:42:46 +06:00
windows Add PluginAPI functions: GetUserDataPath() and GetUserCachePath(). 2015-05-23 17:53:08 +06:00
3DMath.cpp Move all sources to src folder. 2015-05-13 10:21:32 +06:00
3DMath.h Move all sources to src folder. 2015-05-13 10:21:32 +06:00
CMakeLists.txt Pandora support 2015-05-31 18:26:08 +02:00
Combiner.cpp Fix shader texture uniforms update for GLES2. 2015-06-23 22:19:11 +06:00
Combiner.h Fix shader texture uniforms update for GLES2. 2015-06-23 22:19:11 +06:00
CommonPluginAPI.cpp Fix RomOpen for Mupen64Plus API. 2015-07-23 16:07:33 +06:00
Config.cpp Remove ValidityCheckMethod from config and UI. 2015-08-27 19:44:19 +06:00
Config.h Remove ValidityCheckMethod from config and UI. 2015-08-27 19:44:19 +06:00
convert.h Correct load to TMEM functions: wrap tmem address in case of overflow. 2015-06-17 16:02:06 +06:00
CRC.cpp Move all sources to src folder. 2015-05-13 10:21:32 +06:00
CRC.h Move all sources to src folder. 2015-05-13 10:21:32 +06:00
Debug.h Move all sources to src folder. 2015-05-13 10:21:32 +06:00
DepthBuffer.cpp Fix compilation on Linux. 2015-06-17 18:21:11 +06:00
DepthBuffer.h Revert "Correct coronas emulation in Perfect Dark." 2015-06-14 22:57:53 +06:00
F3D.cpp Move all sources to src folder. 2015-05-13 10:21:32 +06:00
F3D.h Move all sources to src folder. 2015-05-13 10:21:32 +06:00
F3DDKR.cpp Move all sources to src folder. 2015-05-13 10:21:32 +06:00
F3DDKR.h Move all sources to src folder. 2015-05-13 10:21:32 +06:00
F3DEX.cpp Move all sources to src folder. 2015-05-13 10:21:32 +06:00
F3DEX.h Move all sources to src folder. 2015-05-13 10:21:32 +06:00
F3DEX2.cpp Move all sources to src folder. 2015-05-13 10:21:32 +06:00
F3DEX2.h Move all sources to src folder. 2015-05-13 10:21:32 +06:00
F3DEX2CBFD.cpp Move all sources to src folder. 2015-05-13 10:21:32 +06:00
F3DEX2CBFD.h Move all sources to src folder. 2015-05-13 10:21:32 +06:00
F3DPD.cpp Move all sources to src folder. 2015-05-13 10:21:32 +06:00
F3DPD.h Move all sources to src folder. 2015-05-13 10:21:32 +06:00
F3DSWSE.cpp Move all sources to src folder. 2015-05-13 10:21:32 +06:00
F3DSWSE.h Move all sources to src folder. 2015-05-13 10:21:32 +06:00
F3DWRUS.cpp Move all sources to src folder. 2015-05-13 10:21:32 +06:00
F3DWRUS.h Move all sources to src folder. 2015-05-13 10:21:32 +06:00
FrameBuffer.cpp Fix buffer end address calculation in FrameBuffer::reinit. 2015-09-25 12:21:20 +06:00
FrameBuffer.h fix regression in Mario Tennis 2015-08-17 21:57:00 +06:00
FrameBufferEmulationIssues.txt Move all sources to src folder. 2015-05-13 10:21:32 +06:00
GBI.cpp Put Goldeneye microcode to the list of special microcodes 2015-08-15 19:51:54 +06:00
GBI.h Move all sources to src folder. 2015-05-13 10:21:32 +06:00
gDP.cpp Fig regression with frame/depth buffer copy in HLE mode caused by commit 77f342f. 2015-08-27 19:39:29 +06:00
gDP.h Always show cfb until first dlist: 2015-05-18 12:55:42 +06:00
getRevision.sh Changing the getRevision script to place the header differently 2015-09-05 16:24:17 -04:00
GLideN64.cpp Switch to Unicode strings. 2015-05-13 10:21:40 +06:00
GLideN64.h Switch to Unicode strings. 2015-05-13 10:21:40 +06:00
GLSLCombiner.h Fix mipmaping when mip-map emulation disabled in settings. 2015-06-18 14:51:43 +06:00
glState.cpp Move all sources to src folder. 2015-05-13 10:21:32 +06:00
glState.h Add extern "C" for functions in glState.h 2015-05-13 10:22:18 +06:00
gSP.cpp Add hack to fix both mario 64 and mario kart 64 background (blue sky) with widescreen hack enable. 2015-06-26 22:06:06 +06:00
gSP.h Always show cfb until first dlist: 2015-05-18 12:55:42 +06:00
Keys.cpp Fix compilation warning in Keys.cpp 2015-06-01 14:50:07 +06:00
Keys.h Move all sources to src folder. 2015-05-13 10:21:32 +06:00
L3D.cpp Move all sources to src folder. 2015-05-13 10:21:32 +06:00
L3D.h Move all sources to src folder. 2015-05-13 10:21:32 +06:00
L3DEX.cpp Move all sources to src folder. 2015-05-13 10:21:32 +06:00
L3DEX.h Move all sources to src folder. 2015-05-13 10:21:32 +06:00
L3DEX2.cpp Move all sources to src folder. 2015-05-13 10:21:32 +06:00
L3DEX2.h Move all sources to src folder. 2015-05-13 10:21:32 +06:00
Log.h Add debugPrint function for VisualStudio debug output. 2015-06-04 22:19:50 +06:00
MupenPlusPluginAPI.cpp Fix RomOpen for Mupen64Plus API. 2015-07-23 16:07:33 +06:00
N64.cpp Correct load to TMEM functions: wrap tmem address in case of overflow. 2015-06-17 16:02:06 +06:00
N64.h Correct load to TMEM functions: wrap tmem address in case of overflow. 2015-06-17 16:02:06 +06:00
OpenGL.cpp Set vertex alpha for texrect to 1. 2015-09-25 19:34:41 +06:00
OpenGL.h Add workaround for Adreno issue with glBlitFramebuffer. 2015-08-27 19:20:26 +06:00
PluginAPI.h Add PluginAPI functions: GetUserDataPath() and GetUserCachePath(). 2015-05-23 17:53:08 +06:00
PostProcessor.cpp Make shaders GL ES 3.1 conformant. 2015-06-10 18:57:13 +06:00
PostProcessor.h Make PostProcessor GLES2 compatible. 2015-05-18 13:51:12 +06:00
RDP.cpp Fix crash when fb emulation enabled/disabled during gameplay, issue #601 2015-07-23 21:55:30 +06:00
RDP.h Revert "Correct coronas emulation in Perfect Dark." 2015-06-14 22:57:53 +06:00
RSP.cpp Fig regression with frame/depth buffer copy in HLE mode caused by commit 77f342f. 2015-08-27 19:39:29 +06:00
RSP.h Correct RSP_SegmentToPhysical 2015-05-13 10:22:01 +06:00
S2DEX.cpp Move all sources to src folder. 2015-05-13 10:21:32 +06:00
S2DEX.h Move all sources to src folder. 2015-05-13 10:21:32 +06:00
S2DEX2.cpp Move all sources to src folder. 2015-05-13 10:21:32 +06:00
S2DEX2.h Move all sources to src folder. 2015-05-13 10:21:32 +06:00
sdl2_compat.h Move all sources to src folder. 2015-05-13 10:21:32 +06:00
ShaderUtils.cpp Code refactor: 2015-05-21 00:11:30 +06:00
ShaderUtils.h Code refactor: 2015-05-21 00:11:30 +06:00
TextDrawer.cpp Make shaders GL ES 3.1 conformant. 2015-06-10 18:57:13 +06:00
TextDrawer.h Code cleanup: correct class TextDrawer definition. 2015-06-16 20:41:13 +06:00
TextDrawerStub.cpp Replace TextDrawer by TextDrawerStub for GL ES. 2015-05-13 10:22:09 +06:00
Textures.cpp Fixing multisampling 2015-09-08 10:58:52 +06:00
Textures.h Code cleanup: moving logic from large loop in TextureCache::_load to 2015-09-03 21:22:08 +06:00
Turbo3D.cpp Move all sources to src folder. 2015-05-13 10:21:32 +06:00
Turbo3D.h Move all sources to src folder. 2015-05-13 10:21:32 +06:00
TxFilterStub.cpp Add TxFilterStub.cpp for GL ES. 2015-05-13 10:22:10 +06:00
Types.h Move all sources to src folder. 2015-05-13 10:21:32 +06:00
UniformCollection.h Fix shader texture uniforms update for GLES2. 2015-06-23 22:19:11 +06:00
VI.cpp Add hack hack_VIUpdateOnCIChange for Quake II. 2015-07-03 15:03:01 +06:00
VI.h Fix _isMarioTennisScoreboard() hack for (E) version. 2015-05-13 10:21:46 +06:00
winlnxdefs.h Move all sources to src folder. 2015-05-13 10:21:32 +06:00
wst.h make gln_wcscat static to avoid link issues. 2015-05-30 20:38:50 +06:00
ZilmarGFX_1_3.h Move all sources to src folder. 2015-05-13 10:21:32 +06:00
ZilmarPluginAPI.cpp Fix RomOpen for Mupen64Plus API. 2015-07-23 16:07:33 +06:00
ZSort.cpp Move all sources to src folder. 2015-05-13 10:21:32 +06:00
ZSort.h Move all sources to src folder. 2015-05-13 10:21:32 +06:00