Commit Graph

849 Commits

Author SHA1 Message Date
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
samuncle
3cbac8e6ea Reset the shader to fix the minimap 2019-06-24 23:33:03 +02:00
samuncle
5633d217a6 Reset the shader to fix the minimap 2019-06-24 23:33:03 +02:00
samuncle
bc49620b23 A few minor changes 2019-06-24 23:33:03 +02:00
samuncle
be577df2ec Update with more probable values 2019-06-24 23:33:03 +02:00
samuncle
476b73375a Experimental raytracer with multisampling (todo: implement this properly) 2019-06-24 23:33:03 +02:00
samuncle
11562a541c Experimental blur test 2019-06-24 23:33:03 +02:00
samuncle
a5e40f9a8a Add color buffer to compute proper space screen reflexion 2019-06-24 23:33:03 +02:00
samuncle
13d121e45d remove dead code 2019-06-24 23:33:03 +02:00
samuncle
cb8f9ecf43 Minor changes 2019-06-24 23:33:03 +02:00
samuncle
025001993d Add space screen reflexion shader 2019-06-24 23:33:03 +02:00
Benau
53f4863e43 Revert "Fix bug with PBR roughness (was working in metal but not plastic materials"
This reverts commit ddd80c1715.
2019-04-04 01:15:05 +08:00
samuncle
ddd80c1715 Fix bug with PBR roughness (was working in metal but not plastic materials 2019-03-14 19:57:28 +01:00
Deve
14389925fe Minor optimization in pointlight scatter.
Compute some values before loop.
2018-12-23 23:31:22 +01:00
Benau
b3e41db14b Add EMT_STK_GRASS for GLES2 to draw grass material without vertex color
Now EMT_TRANSPARENT_ALPHA_CHANNEL_REF in GLES2 can be used with vertex
color
2018-11-30 23:33:30 +08:00
Benau
c10b40fb7d Use a special detail map shader for normal map (later) 2018-09-14 22:51:44 +08:00
Benau
ba37513f7a Fix detail map on normal map with skinned mesh shader 2018-09-09 00:52:00 +08:00