Flyinghead
6871061ca0
Modifier Volumes: summing up with triangles is faster than using a quad.
2018-06-26 15:38:55 +02:00
Flyinghead
7c93727b5e
Improve modifier volume parsing and drawing logic.
...
Parse modifier volumes similarily to other polys (first, count, params).
Draw all triangles in one shot and use quad to sum up instead of
redrawing entire strip. Use OR operation for open volumes/quads
(Soulcalibur).
2018-06-26 14:45:58 +02:00
Flyinghead
846d02d9d2
Optimize RTT to VRAM. Add US version of THPS2 to per-game settings.
2018-06-25 16:55:22 +02:00
Flyinghead
3256e02813
Workaround for Virtua Tennis ball color problem.
...
There's a texture corruption of the tennis ball and other textures,
notably the players' bags in the first intro sequence. The corruption is
due to render to texture squashing existing textures. Not sure what's
going on but this avoids the texture corruption. The original problem
remains.
2018-06-25 15:53:28 +02:00
Flyinghead
2fdcf0d821
Use float constants in GLSL
2018-06-07 18:26:02 +02:00
Flyinghead
e1a86b4e0a
Fix SW1-JPB random texture corruption problem and video choppiness.
2018-06-07 17:19:49 +02:00
Flyinghead
b9fe9332cf
GLES 2 fix for fog table: use float only for vars and consts
2018-06-05 13:36:49 +02:00
Flyinghead
49e172b169
Push more silence on audio underrun to catch up
2018-06-05 12:18:42 +02:00
Flyinghead
828990b926
Texture based fog table
2018-06-05 12:18:09 +02:00
Flyinghead
a345fcc4c7
Draw modifier volumes after punch-through so they can be shadowed as
...
well.
2018-05-23 14:31:11 +02:00
Flyinghead
2f9dcfabd8
Use FPU_SHAD_SCALE.scale_factor for shadow intensity instead of
...
hardcoded value.
2018-05-23 12:26:24 +02:00
Flyinghead
488b9ab831
Add TA_GLOB_TILE_CLIP struct. Fix typo.
2018-05-23 12:05:58 +02:00
Flyinghead
bccfb5b70c
Faster implementation for translucent polys depth pass. Disabled by
...
default. Auto-enabled for Cosmic Smash.
2018-05-22 15:47:02 +02:00
Flyinghead
23a2af0a28
Add setting for THPS2. Move RenderToTextureBuffer option to rend
...
section.
2018-05-22 15:34:33 +02:00
Flyinghead
0f6249fdcf
Backport libretro per-game-settings logic
2018-05-22 15:20:37 +02:00
Flyinghead
c8034807bb
dump_frame/read_frame: save/load pvr registers
2018-05-22 13:23:07 +02:00
Flyinghead
4c7ffeb520
Per-pixel fog shading. Shaders cleanup.
2018-05-22 13:04:21 +02:00
Flyinghead
8d01bbe145
Increase Z scaling factor to 100k (fixes background menu in VR2). Set
...
depth mask before clearing buffers.
2018-05-21 16:44:18 +02:00
Flyinghead
9098fd5a22
Autosort poly: Write to the depth buffer in a second pass, and only if
...
multipass rendering.
2018-05-20 21:41:31 +02:00
Flyinghead
2d904372a9
Multipass issues: depth mask must be enabled for autosorted tr poly.
...
Depth buffer must NOT be cleared b/w passes, same for stencil I guess.
2018-05-20 14:16:43 +02:00
Flyinghead
9e994fecaa
Avoid array overflow if more than 10 render passes
2018-05-19 18:57:16 +02:00
Flyinghead
c35aa4262c
Fix OpenGL errors with modvols and multipass
2018-05-19 18:51:30 +02:00
Flyinghead
6e64fe90fc
Reverting c3a90a63a1
as well as the
...
autosort hack, which was certainly a consequence. Fixes texture
corruptions.
2018-05-18 21:35:51 +02:00
Flyinghead
d596f988c8
Revert 99bc20220e
2018-05-17 11:17:51 +02:00
Flyinghead
99bc20220e
Simplify clipping
2018-05-17 10:32:52 +02:00
Flyinghead
80c193b3de
Cache texture parameters. Fixed exclusion volume modifiers.
2018-05-16 19:34:45 +02:00
Flyinghead
e73d11d0ab
glHint nicest->fastest, and just once
2018-05-15 22:37:40 +02:00
Flyinghead
b469f05b9d
Fix wrong fog calculation issue
2018-05-15 21:19:58 +02:00
Flyinghead
d8165376be
GL cache fix
2018-05-15 16:09:50 +02:00
Flyinghead
de046c4620
Use OpenGL state cache. Allocate texture ids in bulk. Avoid modifier
...
volumes entirely when not needed.
2018-05-15 15:22:26 +02:00
Flyinghead
0ccd8ed5ca
glViewport not needed
2018-05-15 11:56:59 +02:00
Flyinghead
1cb0daff4c
Revert glCheck
2018-05-15 11:56:01 +02:00
Flyinghead
2d834c7396
Revert glChecks
2018-05-15 11:54:14 +02:00
Flyinghead
833a616122
Merge OSX fixes
2018-05-15 11:41:44 +02:00
Flyinghead
46b40ad043
OSX: enable exceptions for vmem
2018-05-15 11:14:48 +02:00
Flyinghead
0a8348b6df
Use CSYM() in assembler code
2018-05-15 11:13:42 +02:00
Flyinghead
71df770758
No stencil buffer by default on OSX
2018-05-15 11:11:29 +02:00
Flyinghead
34eae365f7
bad character?
2018-05-14 23:16:11 +02:00
Flyinghead
c36e2731d7
read_frame fix
2018-05-14 22:38:22 +02:00
Flyinghead
4aee2eb5fe
Increase gdrom dma buffer size to 8192 sectors
2018-05-14 19:37:33 +02:00
Flyinghead
2564c57cd2
Merge branch 'master' of https://github.com/flyinghead/reicast-emulator
2018-05-14 16:14:35 +02:00
Flyinghead
b30f715796
Fix paletted textures mismatch in texture cache
2018-05-14 16:14:15 +02:00
Flyinghead
699c2986a5
WIP
2018-05-14 12:48:22 +02:00
Flyinghead
ae49c19cea
osx: cpu x86. glViewport now doing in RenderFrame
2018-05-14 09:31:03 +02:00
Flyinghead
20ebe9b984
OS X project file reference fix
2018-05-14 09:28:21 +02:00
Flyinghead
46f28cfb27
Fog fix
2018-05-13 23:07:35 +02:00
Flyinghead
95120690ef
Use log2 depth scaling when opengl 3 is available
2018-05-13 20:19:36 +02:00
Flyinghead
688ba5c37d
Fix autosort translucent poly bug (rayman). probably still not right...
2018-05-13 16:48:09 +02:00
Flyinghead
b68f0a16a8
Increase FPS font size
2018-05-13 16:45:20 +02:00
Flyinghead
c30548eb6a
Added on-screen FPS counter. Fix clear screen issue when widescreen
...
enabled but not currently on.
2018-05-13 16:01:08 +02:00