Commit Graph

865 Commits

Author SHA1 Message Date
CodingJellyfish
84dff4423e Guarantee 2048 bones 2024-05-30 02:06:51 +08:00
CodingJellyfish
e2c245c420
Fix #4574 (#5080)
* Improve normal accuracy & Fix wrong SSR

* One less sample count
2024-05-12 19:59:49 +02:00
CodingJellyfish
68d9fd2138
Fix #5067 (#5071)
* Blur shadows by distance

* Copy from Bevy
2024-05-12 19:53:47 +02:00
CodingJellyfish
ec8362915d
Fix #4984 & #4995 (#4998) 2024-01-18 01:13:23 +08:00
CodingJellyfish
b35cd18eb0
Fix #4969 (#4985) 2024-01-06 11:39:16 +08:00
Mike Blumenkrantz
64c74ed516
declare some ssao.frag variables as highp to avoid precision issues (#4860)
this fixes opaque shadow rendering on drivers that implement
mediump as 16bit

fixes #4855

Signed-off-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
2023-04-18 16:00:52 +08:00
Benau
e798c1abee Remove rotation uniform in gl shaders 2023-01-08 08:08:35 +08:00
Benau
0e142e645c Handle vertex color in render info for COGLES2FixedPipelineRenderer 2022-10-19 09:29:06 +08:00
Benau
1b604666c3 Fix sky particles rendering in modern gl3 too, see #2779 2022-10-17 09:33:51 +08:00
Benau
b2404aadd2 Reduce instance data size
MoltenVK has no DrawIndex support yet
2022-10-02 16:41:09 +08:00
Benau
51496cf5ef Fix moltenvk without binding all mesh textures 2022-09-28 08:56:15 +08:00
Benau
5424d4fe77 Fix typo in ge shaders 2022-09-27 15:21:08 +08:00
Benau
4d79ccdea5 Add different texture per draw call for billboard 2022-09-18 10:54:22 +08:00
Benau
a36276811e Fix missing vertex color in gles2 driver
Also make sure all vertex colors are applied after colorization is done
2022-09-16 10:58:17 +08:00
Benau
b77160527c Fix texture matrix for gles2 driver 2022-09-15 09:01:55 +08:00
Benau
16173207ee Add colorization support for gles2 driver 2022-09-15 08:30:24 +08:00
Benau
23470bbde2 Add custom vertex color to instance data 2022-09-12 11:07:22 +08:00
Benau
76c39afd8b Add colorization for vulkan 2022-09-11 11:05:33 +08:00
Benau
dcad21b830 Use uniform rendering code for particle rendering
1. Remove pow in shader and do srgb conversion in code

2. Fix setGreen and setBlue order

3. Multiply particle color first like vertex color in the other shaders

4. Fix incorrect smoothstep
2022-09-09 09:41:32 +08:00
Benau
155b73d452 Remove unneeded pow in transparent.frag
It's only used in 2d rendering so no srgb sampling is needed
2022-09-08 15:24:40 +08:00
Benau
0b4bf178d7 Add texture matrix support in vulkan 2022-09-02 09:07:43 +08:00
Benau
97e5064535 Use location, rotation and scale instead of model matrix in vulkan 2022-08-26 09:36:30 +08:00
Benau
4f9d40f3b2 Add GEVulkanSkyBoxRenderer 2022-08-21 14:09:56 +08:00
Benau
2696ef2567 Add shader to render ghost kart 2022-07-30 09:03:56 +08:00
Benau
1a953b8a6c Add grass shader 2022-07-29 10:51:14 +08:00
Benau
e9d3152c1a Add more shaders 2022-07-28 13:37:09 +08:00
Benau
3f99e63a3c Don't use sampler array for non-single texture descriptor
Devices like Apple A8 don't support it
2022-07-27 13:54:22 +08:00
Benau
d4b2b03174 Add animated mesh rendering 2022-07-26 12:47:31 +08:00
Benau
3d0d666e09 Add texture mapping 2022-07-21 12:26:06 +08:00
Benau
f768badee0 Add initial 3d rendering 2022-07-19 15:56:08 +08:00
Benau
ea1733ed08 Add drawing code for devices with low sampler images 2022-03-20 13:35:22 +08:00
Benau
1cf2c0c5bf Add initial 2D vulkan rendering 2022-03-19 15:14:55 +08:00
Benau
cb607a16ff Add GEVulkanShaderManager 2022-03-18 16:24:33 +08:00
QwertyChouskie
efbd8eb75e
Screen-space refection: many fixes + optimization (#4575) 2021-08-30 16:34:02 +08:00
Benau
38bcb92d53 Fix #4533 2021-05-21 23:13:55 +08:00
Benau
1d65cd9ffc Move premultiplied alpha to shader 2021-03-07 15:41:00 +08:00
jean
cee3cb79a5 Removed clouds feature. Should be done with custom shaders now. Could be in the future part of weather 2021-02-07 21:31:22 +01:00
Benau
4d72b118e3 Batch glyph for quicker text rendering 2020-05-01 09:34:04 +08:00
riso
740d57a2c4
Show kart direction by an arrow in soccer (#4230)
* Show kart direction by an arrow in soccer

* bug fix

* bug fix

* correct grammar
2020-02-16 16:31:30 +08:00
Benau
f787832772 Add 2d drawing shader with custom alpha 2019-08-16 11:48:10 +08:00
Benau
ce1c188b1a Add rotation uniform to 2d drawing shader 2019-08-16 10:31:24 +08:00
Benau
24c4f4c8de Fix GLES shader 2019-06-26 16:25:13 +08:00
samuncle
dfed11c6a8 Bring back the legacy gloss computation (to disable once a proper fallback is done) 2019-06-25 20:42:29 +02:00
samuncle
26a387ea36 Update the reflection 2019-06-24 23:33:03 +02:00
samuncle
10eb549012 soften the degraded ibl to make preview less dark 2019-06-24 23:33:03 +02:00
samuncle
187623b6a8 Update raytracer reflection to mitigate surface which are too glossy 2019-06-24 23:33:03 +02:00
samuncle
b787c09705 Remove useless code 2019-06-24 23:33:03 +02:00
samuncle
104de39a04 Disable completly space screen reflexion for opengl-es (probably too slow for android 2019-06-24 23:33:03 +02:00
samuncle
3291e23ca6 Reset the shader to fix the minimap 2019-06-24 23:33:03 +02:00
samuncle
674a449c10 Reset the shader to fix the minimap 2019-06-24 23:33:03 +02:00