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

33 Commits

Author SHA1 Message Date
Sergey Lipskiy
2600a6bc90 Remove "Enable noise" oprion. Emulation of noise is always enabled. 2020-03-31 18:31:42 +07:00
Sergey Lipskiy
d621eb4d34 Add enum DitheringMode for better readability.
Few fixes.
2020-03-31 18:31:41 +07:00
gizmo98
350d791596 -Remove enableDithering setting and use ditheringMode for everything
-Dithering Modes:
0 disabled
1 noise dithering
2 noise dithering with 5Bit quantitzation
3 noise and ordered grid dithering
4 noise and ordered grid dithering with 5Bit quantitzation
-Quantize dithered alpha (5Bit). Removes white remnants in SF Lylat
Wars.
2020-03-31 18:31:40 +07:00
fzurita
44ce554d5f Fix issues with EGL image public API on GLES 2.0 2019-11-30 15:54:59 +07:00
Sergey Lipskiy
2d712f2ae0 Rewrite textures loading and mapping:
- use RiceVideo method for texture size calculation.
  RiceVideo uses the same method for texture dumping.
- rewrite texture mapping.
  Texture Clamp-Wrap-Mirror implemented in shaders.

Problem explanation:
https://github.com/gonetz/GLideN64/issues/1885#issuecomment-485136358

Fixed various glitches with HD textures, #1885
2019-06-19 19:02:52 +07:00
Sergey Lipskiy
6725ad474a Fix warnings of 64bit compiler. 2018-05-06 15:54:12 +07:00
Sergey Lipskiy
10710f96ac Fix warnings from compiler and static code analizer. 2018-05-06 15:28:07 +07:00
Logan McNaughton
958758b37a Remove PixelWriteBuffer
And a few other small fixes
2018-03-09 20:32:56 +07:00
Logan McNaughton
cb90bb95ed Cleanup FB Texture caching code 2018-02-26 21:15:51 +07:00
Sergey Lipskiy
26623cec1f Code cleanup: fix issues in GLideN64 found by static code analyser. 2017-11-18 22:07:27 +07:00
Sergey Lipskiy
1cdb1754a6 Fill noise textures data only once on plugin's start. 2017-10-27 10:43:14 +07:00
Sergey Lipskiy
7e4271d991 Display save/load progress for combiners shaders
Display "init noise texture" message. Progress is hard to display because noise textures generated in threads.
2017-10-26 00:37:26 +07:00
Sergey Lipskiy
48a4c2c623 Fix "use unitialized variable" run-time error. 2017-10-04 16:29:09 +07:00
Logan McNaughton
54a1c4a65c Use rand_s for MINGW 2017-10-04 16:11:10 +07:00
Sergey Lipskiy
e576e2c0b9 Improve work with threads in NoiseTexture::init() 2017-03-23 15:35:47 +07:00
Sergey Lipskiy
911e5490f1 Remove optimization for noise texture filling introduced by commit 3da71d1f
This optimization reduces noise quality on Windows, e.g. in SM64 or Silicon valley.
2017-03-23 15:35:42 +07:00
Sergey Lipskiy
df6aa43522 Fix typo: NOISE_TEX_HEIHT => NOISE_TEX_HEIGHT 2017-02-21 09:49:57 +07:00
Sergey Lipskiy
6e22e2ead7 Fix compilation on 64bit Linux. 2017-02-21 09:47:33 +07:00
Sergey Lipskiy
8d9b44b90f Use threads to generate noise textures data. 2017-02-19 16:13:25 +07:00
Sergey Lipskiy
3da71d1fc4 Reduce number of rand function calls. 2017-02-19 14:46:47 +07:00
Francisco Zurita
bca968fdd3 Fix noise texture in GLES 2.0 2017-02-05 20:07:46 +07:00
Sergey Lipskiy
9edd5a5f18 Fix compilation on Windows. 2017-02-03 21:10:08 +07:00
Logan McNaughton
cd17543447 Faster noise emulation 2017-02-03 10:23:55 +07:00
Francisco Zurita
38bba9f804 Add missing include. 2017-01-29 22:10:01 +07:00
Sergey Lipskiy
df4a81bfea Add special Parameter classes to make parametrs usage more safe. 2017-01-28 16:52:09 +07:00
Sergey Lipskiy
80ed169e24 Remove use of OpenGL.h 2017-01-22 20:43:05 +07:00
Sergey Lipskiy
4e459c7645 Change type of CachedTexture name to graphics::ObjectHandle 2017-01-21 19:48:02 +07:00
Sergey Lipskiy
e83c3489a3 Replace OGLVideo by DisplayWindow
Replace OGLRender by GraphicsDrawer
2017-01-16 20:56:11 +07:00
Sergey Lipskiy
dd57479838 Add Drawer class to replace OGLRender WIP 2017-01-10 22:22:32 +07:00
Sergey Lipskiy
c68b6b9085 Special shaders 2017-01-08 17:49:50 +07:00
Sergey Lipskiy
dcf1065957 Add textureIndices parameters 2017-01-08 17:49:47 +07:00
Sergey Lipskiy
6ef2431e19 Rewrite NoiseTexture 2017-01-08 17:49:42 +07:00
Sergey Lipskiy
41d0a9ade5 Replace ShaderCombiner 2 2017-01-08 17:49:39 +07:00