MerryMage
41bfd994f6
clang-format
8 years ago
bunnei
386ecbd433
renderer_gl: Clear screen to black before rendering framebuffer.
8 years ago
bunnei
f0bccde0a0
renderer: Render previous frame when no new one is available.
8 years ago
MerryMage
d616b36e7b
Fix build on macOS and linux
8 years ago
James Rowe
a5b9cd4d18
Remove references to PICA and rasterizers in video_core
8 years ago
bunnei
5203bf6799
renderer_opengl: Fix LOG_TRACE in LoadFBToScreenInfo.
8 years ago
bunnei
0ffcc1190e
renderer_opengl: Support rendering Switch framebuffer.
8 years ago
bunnei
7fac24c9e3
renderer_opengl: Add MortonCopyPixels function for Switch framebuffer.
8 years ago
bunnei
46d4d95274
renderer_opengl: Update DrawScreens for Switch.
8 years ago
bunnei
4728cc141a
core/video_core: Fix a bunch of u64 -> u32 warnings.
8 years ago
Huw Pascoe
da1c8d1522
Fixed type conversion ambiguity
9 years ago
Huw Pascoe
a35ca6c623
Fixed framebuffer warning
9 years ago
wwylele
3b210dd006
pica/lighting: only apply Fresnel factor for the last light
9 years ago
wwylele
c58f627516
video_core: report telemetry for gas mode
9 years ago
wwylele
55eaecad8f
gl_rasterizer: implement custom clip plane
9 years ago
wwylele
709d362609
gl_rasterizer/lighting: more accurate CP formula
9 years ago
wwylele
a8499f3adb
gl_shader_gen: simplify and clarify the depth transformation between vertex shader and fragment shader
9 years ago
wwylele
d332ede188
gl_rasterizer: add clipping plane z<=0 defined in PICA
9 years ago
wwylele
a26768503a
gl_shader_gen: don't call SampleTexture when bump map is not used
9 years ago
bunnei
b2bfbf5120
telemetry: Log performance, configuration, and system data.
9 years ago
wwylele
54eafa42ce
gl_rasterizer: use texture buffer for proctex LUT
9 years ago
wwylele
f1afe2baa8
gl_rasterizer: use texture buffer for fog LUT
9 years ago
wwylele
b3f9d734f0
gl_rasterizer: create the texture before applying the state
this is a rebasing error from #2792 . It doesn't affect much though, because the later more Apply() call fixes/hides it
9 years ago
wwylele
3e20762caa
gl_state: reset 1d textures
9 years ago
wwylele
49cf57c079
gl_rasterizer: fix glGetUniformLocation type
9 years ago
wwylele
4dc2b38ce2
gl_rasterizer: manage texture ids in one place
9 years ago
wwylele
98a84efd39
gl_rasterizer/lighting: fix LUT interpolation
9 years ago
wwylele
7318329bbb
gl_rasterizer/lighting: use the formula from the paper for germetic factor
9 years ago
wwylele
a8f1a9cbb4
gl_rasterizer/lighting: implement geometric factor
9 years ago
wwylele
bd01da889f
gl_rasterizer/lighting: Implement tangent mapping
9 years ago
wwylele
8b2aeb449c
gl_rasterizer/lighting: implement lut input 5 (CP)
9 years ago
wwylele
13481c8131
gl_rasterizer_cache: depth write is disabled if allow_depth_stencil_write is false
9 years ago
Yuri Kunde Schlesner
5903948a7a
OpenGL: Update comment on AreQuaternionsOpposite with new information
While debugging the software renderer implementation, it was noticed
that this is actually exactly what the hardware does, upgrading the
status of this "hack" to being a proper implementation. And there was
much rejoicing.
9 years ago
wwylele
a13b327035
pica/rasterizer: implement/stub texture wrap mode 4-7
9 years ago
wwylele
03fbc7f914
gl_rasterizer: implement spot light
9 years ago
wwylele
35339a578c
gl_rasterizer: sync spot light status
9 years ago
Yuri Kunde Schlesner
b868036561
Move screen size constants from video_core to core
video_core didn't even properly use them, and they were the source of
many otherwise-unnecessary dependencies from core to video_core.
9 years ago
Yuri Kunde Schlesner
2010024c2d
OpenGL: Remove unused RendererOpenGL fields
9 years ago
Yuri Kunde Schlesner
24ca113f3c
OpenGL: Improve accuracy of quaternion interpolation
Current order of operations (rotate then normalize) seems to produce a
lot more distortion than normalizing and then rotating. This makes Citra
results match pretty closesly with hardware, and indicates that hardware
may also be using lerp instead of slerp to interpolate the quaternions.
9 years ago
wwylele
5e5816c800
gl_shader: refactor texture sampler into its own function
9 years ago
wwylele
19583dfd61
gl_rasterizer: implement procedural texture
9 years ago
wwylele
cb51c1024f
pica: shader_dirty if texture2 coord changed
9 years ago
wwylele
39d77e5d9d
pica: use correct coordinates for texture 2
9 years ago
wwylele
fdbc63d7b2
gl_shader_gen: remove TODO about Lerp behaviour verification. The implementation is verified against hardware
9 years ago
wwylele
aaa320dd45
rasterizer: implement combiner operation 7 (Dot3_RGBA)
9 years ago
Yuri Kunde Schlesner
7938f9250c
OpenGL: Pass Pica regs via parameter
9 years ago
Yuri Kunde Schlesner
9b5c90cbe3
OpenGL: Move PicaShaderConfig to gl_shader_gen.h
Also move the implementation of CurrentConfig to the cpp file.
9 years ago
Yuri Kunde Schlesner
f510fe1b2e
OpenGL: Move Attributes enum to a more appropriate file
9 years ago
wwylele
9bdb78f869
Input: remove unused stuff & clean up
1. removed zl, zr and c-stick from HID::PadState. They are handled by IR, not HID
2. removed button handling in EmuWindow
3. removed key_map
4. cleanup #include
9 years ago
Yuri Kunde Schlesner
5990d020a8
Core: Re-write frame limiter
Now based on std::chrono, and also works in terms of emulated time
instead of frames, so we can in the future frame-limit even when the
display is disabled, etc.
The frame limiter can also be enabled along with v-sync now, which
should be useful for those with displays running at more than 60 Hz.
9 years ago