Nguyen Truong An
a81c5d620b
Merge remote-tracking branch 'homebrodot/4.x' into pandemonium-homebrodot
2025-02-25 10:45:00 +00:00
Nguyen Truong An
0d0b0ada5d
Merge branch 'master' of https://github.com/Relintai/pandemonium_engine into Relintai-master
2025-02-23 13:46:39 +01:00
lawnjelly
5dbdd73b0a
Ameliorate performance regression due to directional shadow fade_start
2025-02-03 13:01:02 +01:00
e53f2b27ba
Added force printing / logging option to OS. Made PLogger use this internally.
2024-11-16 10:28:17 +01:00
Nguyen Truong An
e29100ba2d
Merge branch 'master' of https://github.com/Relintai/pandemonium_engine into Relintai-master
2024-11-15 16:27:00 +01:00
Yuri Rubinsky
e5b7a95f88
Implement glow map effect
2024-11-14 00:27:23 +01:00
Nguyen Truong An
0d91f62c6a
Remove sys/ioctl.h for ps vita
2024-09-29 20:55:10 +02:00
Nguyen Truong An
1dee622f93
Add custom custom module and Vita platform export
2024-09-29 18:28:44 +02:00
Hugo Locurcio
769c33abdf
Backport DirectionalLight fade_start
property to 3.x
...
- Implement shadow fading when using the Orthogonal shadow mode
(like in `master`).
This allows customizing the distance at which directional shadows
start to fade away. Shadow fading will also always start at the same
distance now, regardless of the current shadow mode in use.
This is useful for enclosed levels to prevent shadows from fading
at all with a well-tuned maximum distance.
The default fade start value (0.8) results in fading happening later
in the distance compared to the previous behavior, where fading started
from the last shadow split distance (0.6 in PSSM 4 Splits and
0.1 in PSSM 2 Splits).
2024-07-17 00:11:17 +02:00
f9507dc475
Clang format everything again.
2024-07-16 21:29:26 +02:00
8181808b74
Ran the header guard move script.
2024-07-16 21:27:34 +02:00
c7ac1db971
Clang format everything.
2024-07-16 21:23:54 +02:00
85e7f7327e
Fix and enable the gles3 renderer by default.
2024-07-16 19:44:22 +02:00
efccdca45f
Added back GIProbes.
2024-07-16 19:07:24 +02:00
9d3770cbad
Fix build.
2024-07-16 15:57:04 +02:00
9af21bf8a5
Adding back the gpu based particles pt1.
2024-07-16 08:22:27 +02:00
9d6680ce6d
Adding back the GLES3 renderer pt1. Unlike in godot it can be disabled compile time. It will be enabled afer if works.
2024-07-16 00:14:10 +02:00
62fdccce25
Adding back lightmaps pt2.
2024-07-15 19:15:47 +02:00
98cbf1026a
Adding back lightmaps pt1.
2024-07-15 17:36:28 +02:00
lawnjelly
8a8c4c7982
Fix fragcolor write locations in scene shaders
2024-07-14 08:35:26 +02:00
f09ab537e0
Clang-format everything.
2024-04-21 15:27:36 +02:00
6d0c43dbf0
Fix error found by static analysis tools.
2024-04-19 18:32:49 +02:00
2934369381
Added a new canvas_item_add_texture_rect_animation() method to the RenderingServer.
2024-03-11 18:21:05 +01:00
5604071bb4
Fix 2d mesh transforms and colors.
2024-03-11 12:45:36 +01:00
0fccc9f393
Added S3TC_NOT_SUPPORTED define to be used by platforms externally.
2024-02-17 19:07:14 +01:00
cdb3f03e61
Added optional GLES2_LOAD_EXT_NO_DLCFN_AVAILABLE define for the rasterizer storage.
2024-02-17 19:04:57 +01:00
1d22053020
Moved dlfcn.h include in RasterizerStorageGLES2 to it's proper place according to the comment above it.
2024-02-17 18:57:33 +01:00
Caroline Bell
53474c6682
Add Switch submodule
2024-02-15 16:47:54 -06:00
ae7409bf52
Ported: Fix signed distance field font rendering
...
This fix works in both GLES3 and GLES2.
The rendering formula in the shader was adjusted to further improve the
sharpness/antialiasing quality balance.
- lawnjelly and Calinou
bc607fb607
2024-02-08 19:11:34 +01:00
lawnjelly
3a04d5adfe
GLES2 / GLES3 - Use gl_FragColor temporary
...
On some hardware, modifying gl_FragColor multiple times can cause large performance drops. This PR writes to a standard temporary variable instead, and copies across to gl_FragColor once only at the end of the fragment shader.
This could potentially lead to large gains in performance on affected hardware.
2024-02-08 14:58:12 +01:00
Bartłomiej T. Listwon
7101e4aed7
Prevent shuffling custom shader functions (shader cache requires determinism)
2024-02-08 14:48:50 +01:00
Caroline Joy Bell
0f099eca32
Fix #if *_ENABLED
inconsistencies, should check if defined
...
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2024-02-08 14:16:03 +01:00
Alessandro Famà
57c4c9455a
Fix Dummy audio driver initialization issue on WASAPI output device initialization failure
2024-02-08 14:09:49 +01:00
Rémi Verschelde
1c70f86950
Fix various GCC 13 warnings
...
Fixes occurrences of `-Wtype-limits`, `-Wmaybe-uninitialized`,
`-Wduplicated-branches`.
2023-12-20 22:57:54 +01:00
lawnjelly
96d23e1f29
Fix glGet overflows by using 64 bit versions
...
Certain glGet operations require 64 bit versions according to the GLES spec.
The previous code was susceptible to overflow bugs, especially running under ANGLE.
2023-12-20 22:39:02 +01:00
lawnjelly
88fd023a06
Workaround GCC warning in rasterizer_canvas_batcher
...
`-Werror=array-bounds` flags when creating a new batch, possibly due to the possibility of the malloc failing (out of memory).
This PR adds an explicit `CRASHNOW` in the hope the compiler will recognise this case is not intended to be recoverable.
2023-12-20 22:25:40 +01:00
99621357a0
File copyright header updates pt4.
2023-12-17 22:50:00 +01:00
88e9ad04f2
Moved back the servers and resources from core.
2023-12-10 23:11:07 +01:00
238bf1b331
Moved the RenderingServer to core.
2023-12-10 19:04:24 +01:00
763f662263
Moved meshes to a new subfolder.
2023-12-10 15:22:09 +01:00
59ae5c4662
Ported from godot: add support for 3 dir shadow splits
...
- Ansraer
54bc6a300e
2023-10-02 18:12:54 +02:00
e98b2a954b
Don't use ERR_FAIL in SubProcessUnix::stop().
2023-09-10 22:26:30 +02:00
8dab74a7d2
Fix missing include.
2023-09-10 14:05:09 +02:00
d9f09d86d3
Made emscripten guards consistent in SubProcessUnix.
2023-09-10 13:32:47 +02:00
4a6868b79d
Removed commented code. Also call stop() in SubProcessUnix's destructor.
2023-09-10 13:28:06 +02:00
a0a84c4987
Return early in SubProcessUnix::start() if the executable path is empty.
2023-09-10 12:39:29 +02:00
5fd0326745
Added a new SubProcess class with a Uniz backend for better process control.
2023-09-10 12:19:51 +02:00
62e2b1623a
Use NULLs.
2023-08-30 13:24:46 +02:00
5d93975c8d
Ported: Fix custom res caching sub-res even if no-cache
...
-Razoric480
2ceb93bbef
2023-08-30 12:55:37 +02:00
kobewi
3c4fc036a1
Add mono audio support to WASAPI
...
(cherry picked from commit 8d010b44c16766331aa92e1a45a03a4cef1466e0)
2023-08-30 11:02:57 +02:00