Commit graph

53 commits

Author SHA1 Message Date
Paweł Kołodziejski
b786eec774
WME3D: Remove "float" casting 2021-12-30 13:04:58 +01:00
Paweł Kołodziejski
e22f1a6cc4
WME3D: Removed packed flag, it's not needed 2021-12-29 23:23:55 +01:00
Paweł Kołodziejski
20cb0ae228
ALL: Cleanup ResidualVM -> ScummVM 2021-12-26 21:19:38 +01:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Cameron Cawley
4d206e5286
GRAPHICS: Clean up OpenGL defines (#3551) 2021-11-18 00:56:21 +01:00
Eugene Sandulenko
5e7fe2dc57
JANITORIAL: Replace spaces in indentation with tabs 2021-04-15 21:20:36 +02:00
D G Turner
33b48e76c4 WINTERMUTE: Fix GCC Compiler Warnings from Unused WIP Variables 2021-03-10 07:57:31 +00:00
Gunnar Birke
d205db3871 WINTERMUTE: Only display flat shadow if this was requested 2020-11-03 11:54:36 +01:00
Gunnar Birke
a2b68b2d4e WINTERMUTE: Implement flat shadow rendering with gles 2 shaders 2020-11-03 11:54:36 +01:00
Gunnar Birke
45cfe46681 WINTERMUTE: Add position data render function for .X models 2020-11-03 11:54:36 +01:00
Paweł Kołodziejski
ad37c20fb4 WINTERMUTE: Attempt enabling GLES2 renderer. 2020-10-18 22:22:57 +02:00
Gunnar Birke
874965f454 WINTERMUTE: Remove Model-View transformation reset function from 3d renderer interface 2020-10-18 07:22:40 +02:00
Gunnar Birke
1ea679f90a WINTERMUTE: Provide getters for actual opengl texture dimensions 2020-10-18 07:22:40 +02:00
Paweł Kołodziejski
78001c3d6e WINTERMUTE: Disable GLES2 for now 2020-10-14 21:07:36 +02:00
Paweł Kołodziejski
a37173807f CONFIGURE: More work on opengl flags 2020-10-14 18:37:17 +02:00
Paweł Kołodziejski
264f6f037b ALL: Separate USE_OPENGL and USE_OPENG_GAME. Exclude WME3D for GLES2 for now. 2020-10-10 14:12:07 +02:00
Pawel Kolodziejski
1e497cdebd WINTERMUTE: Allow compile without opengl 2020-10-06 07:33:01 +02:00
Pawel Kolodziejski
e427f7eeda WINTERMUTE: Fixed wintermute engine compilation when GLEW is disabled 2020-10-04 11:30:39 +02:00
Pawel Kolodziejski
a8b53f8f21 ALL: Avoid class names clashing with ScummVM classes 2020-09-28 18:47:10 +02:00
Pawel Kolodziejski
1821c16da2 WINTERMUTE: Rename shaders file to unique names 2020-09-27 17:47:56 +02:00
Pawel Kolodziejski
ceb422d6f8 WINTERMUTE: Silence compiler warnings 2020-09-20 22:18:55 +02:00
Gunnar Birke
77f25c4573 WINTERMUTE: Enable/Disable culling based on flag 2020-08-29 05:22:22 +02:00
Gunnar Birke
81476dfec2 WINTERMUTE: Fix typo in warning text 2020-08-29 05:22:22 +02:00
Gunnar Birke
c28a2003a8 WINTERMUTE: Move non OpenGL code out of OpenGL folder 2020-08-28 16:47:28 +02:00
Gunnar Birke
55c6a3a3f4 WINTERMUTE: Add null to mark end of attributes array 2020-08-28 06:30:23 +02:00
Gunnar Birke
cbd39394d1 WINTERMUTE: Implement drawing of lines in renderer 2020-08-28 06:30:23 +02:00
Gunnar Birke
a0dbffef5d WINTERMUTE: Use proper enum type to store render state 2020-08-28 06:30:23 +02:00
Gunnar Birke
bee56f5802 WINTERMUTE: Set default clip plane values only during init 2020-08-25 00:03:09 +02:00
Gunnar Birke
ceb9c68a2b WINTERMUTE: Use camera clipping plane settings in renderer 2020-08-22 17:38:46 +02:00
Pawel Kolodziejski
4c331b326a WINTERMUTE: Change debug log from error to warning to allow "Dark Fall: Lost Souls" game to start 2020-08-18 21:47:55 +02:00
Gunnar Birke
c7fa9f1946 WINTERMUTE: Fix shader variable and matrix layout for transformed sprites 2020-08-18 19:06:41 +02:00
Gunnar Birke
acee5386c9 WINTERMUTE: Implement displaying of transformed sprites 2020-08-18 18:50:57 +02:00
Gunnar Birke
6f5bcd54cf WINTERMUTE: Implement sprite mirroring 2020-08-17 18:44:24 +02:00
Gunnar Birke
a34a125848 WINTERMUTE: Implement image based shadows in fixed function renderer 2020-08-16 21:01:59 +02:00
Gunnar Birke
b557bb7f60 WINTERMUTE: Use/store actual viewport for 3d rendering/picking 2020-08-11 00:46:55 +02:00
Gunnar Birke
bfa52b67d4 WINTERMUTE: Use window dimensions for 2d viewport 2020-08-11 00:46:55 +02:00
Gunnar Birke
74b2184a5d WINTERMUTE: Correctly convert Direct3D viewport parameters 2020-08-11 00:46:55 +02:00
Gunnar Birke
7dbb176b7f WINTERMUTE: Scale projection matrix entries by window/viewport ratio 2020-08-11 00:46:55 +02:00
Gunnar Birke
079b450436 WINTERMUTE: Render light directions again when debugging geometry 2020-08-10 11:24:28 +02:00
Gunnar Birke
cfc652a828 WINTERMUTE: Remove irrelevant comments, fix comment style 2020-08-10 11:24:28 +02:00
Gunnar Birke
532573ecd3 WINTERMUTE: Introduce struct to pass fog parameters 2020-08-10 11:24:28 +02:00
Gunnar Birke
9749a6aeae WINTERMUTE: Remove non GL ES 2 calls from shader renderer 2020-08-10 11:24:28 +02:00
Gunnar Birke
03c942fa18 WINTERMUTE: Move scene geometry render code into renderer 2020-08-10 11:24:28 +02:00
Gunnar Birke
7a1567e045 WINTERMUTE: Factor out common renderer code into base 2020-08-10 11:24:28 +02:00
Gunnar Birke
7ac6aa5337 WINTERMUTE: Remove matrix stack, let renderer care about matrix layout 2020-08-10 11:24:28 +02:00
Gunnar Birke
3864ad1dd8 WINTERMUTE: Render shadow volume using VBOs and shaders 2020-08-10 11:24:28 +02:00
Gunnar Birke
781608e2e9 WINTERMUTE: Render scene geometry using VBOs and shaders 2020-08-10 11:24:28 +02:00
Gunnar Birke
39e2b80183 WINTERMUTE: Implement fading using shaders and VBOs 2020-08-10 11:24:28 +02:00
Gunnar Birke
b5943fd177 WINTERMUTE: Refactor lighting, implement shader based lighting 2020-08-10 11:24:28 +02:00
Gunnar Birke
b6f92179b0 WINTERMUTE: Render .X models using VBOs and shaders 2020-08-10 11:24:28 +02:00