Magnus Norddahl
69b48f8123
Fix black flats
2023-12-26 04:30:57 +01:00
Magnus Norddahl
ac212e0147
Use HWFlat for ceilings and floors
2023-12-26 04:30:57 +01:00
Magnus Norddahl
5443ed76ec
Draw the sprites
2023-12-26 04:30:57 +01:00
Magnus Norddahl
86ac07f2f8
Implement drawing HWWall portals using the level mesh and occlusion queries
2023-12-26 04:30:57 +01:00
Magnus Norddahl
47f17b1c03
Move DrawLevelMesh to RenderState
2023-12-26 04:30:57 +01:00
dpjudas
57fe68c8a1
Draw depth pass and portal occlusion test
2023-12-26 04:30:57 +01:00
Magnus Norddahl
04493ade52
Add support for using the correct pipeline for each surface
2023-12-26 04:30:56 +01:00
dpjudas
2cda07245c
Remove old wall surface creation code
2023-12-26 04:30:56 +01:00
dpjudas
9ca058ccc9
Create wall surfaces directly from the HWWall output
2023-12-26 04:30:56 +01:00
Magnus Norddahl
d0d964ae42
Hook up HWWall and use the real main.fp shader for the level mesh
2023-12-26 04:30:56 +01:00
Magnus Norddahl
5f50160108
Prepare surface creation code to use HWWall
2023-12-26 04:30:56 +01:00
Magnus Norddahl
9f963e2c06
Rename lightmap fields to surface as it is being used for more than lightmaps now
2023-12-26 04:30:56 +01:00
Magnus Norddahl
4f4d859fd9
Move some code
2023-12-26 04:30:56 +01:00
dpjudas
f83ae7487f
Split into more files
2023-12-26 04:30:56 +01:00
Magnus Norddahl
f1b15c5000
Fix the second vertex buffer binding bug
2023-12-26 04:30:55 +01:00
Magnus Norddahl
d3da7a8443
Fix UV order
2023-12-26 04:30:55 +01:00
Magnus Norddahl
f550f5b05a
Hook up bindless textures for gl_levelmesh
2023-12-26 04:30:55 +01:00
Magnus Norddahl
9edfbcd10e
Create different buffer for uniform indexes that works for the vertex shader
2023-12-26 04:30:55 +01:00
Magnus Norddahl
f8fd08a623
Clean up VkDescriptorSetManager a bit and bind the surface uniforms when drawing with gl_levelmesh
2023-12-26 04:30:54 +01:00
Magnus Norddahl
ba7dfb8a8f
Add uniforms to level mesh and upload them to the GPU
2023-12-26 04:30:54 +01:00
Magnus Norddahl
240d68d7ae
Merge SurfaceVertex with FFlatVertex and draw the lightmaps
2023-12-26 04:30:54 +01:00
Major Cooke
751ee7390b
Fixed incorrect offsetting for SpriteOffset.
2023-12-20 17:50:36 -05:00
nashmuhandes
72e3c01449
Revert Fogball to a scripted class
2023-12-11 11:38:18 +01:00
nashmuhandes
17aac06007
- Use the Fogball's 4th arg for the radius
...
- Add Fogball DoomEdNum
2023-12-11 11:37:24 +01:00
Magnus Norddahl
a76dfafbaa
Fix misc bugs in the fogball implementation - it works now
2023-12-11 11:37:24 +01:00
nashmuhandes
909309f1e8
Use the actor fields intended for fogball customization
2023-12-11 11:36:43 +01:00
dpjudas
81cdc402c9
Add code collecting fogballs from the visible scene
2023-12-11 11:34:14 +01:00
Rachael Alexanderson
102c467de5
- add option to override renderflags +BILLBOARD[NO]FACECAMERA
2023-12-09 18:18:28 -05:00
Rachael Alexanderson
b4d5c7d669
- add actor flag +BILLBOARDNOFACECAMERA which forces sprite aimed at camera heading instead of camera position when gl_billboard_faces_camera is true
...
```
class ZombieManNoFaceCamera : Zombieman replaces Zombieman
{
default
{
+BILLBOARDNOFACECAMERA;
}
}
```
2023-12-09 05:57:51 -05:00
Rachael Alexanderson
97336cf7c2
- add missing nullptr check
2023-12-08 16:22:22 -05:00
Rachael Alexanderson
3caa6247be
- add flag +BILLBOARDFACECAMERA - renders actor billboard to always face the camera
...
tested with this code snippet:
```
class ZombieManFaceCamera : Zombieman replaces Zombieman
{
default
{
+BILLBOARDFACECAMERA;
}
}
```
2023-12-08 10:12:58 -05:00
Magnus Norddahl
58381ec762
Use a TArrayView for the lightmap arrays
2023-12-07 12:48:48 +01:00
Rachael Alexanderson
4b54aac288
- rename ZSprites to VisualThinkers
2023-11-22 12:11:57 -05:00
Ricardo Luís Vaz Silva
5d5e7ca042
Decoupled IQM Model Animations
2023-11-20 22:08:33 -05:00
Ricardo Luís Vaz Silva
1a8dfd2dfa
ActorModelData cleanup in preparation for decoupled model animations
2023-11-20 22:08:33 -05:00
Major Cooke
848dbd4d3d
Fixed uninitialized variables causing issues with other compilers.
2023-11-20 22:07:58 -05:00
Major Cooke
8fcd2c5f43
Fixed compilation with CI
2023-11-17 08:06:11 -05:00
Major Cooke
48e7c2d994
- Proper heap handling of HWSprite pointer
...
- Added `Construct()` method and ensure it's called when created from any means
2023-11-17 08:06:11 -05:00
Major Cooke
0b6bae59ee
Added scolor property, allowing for colorizing ZSprites.
...
- fixed ZSprites not updating important variables while frozen.
2023-11-17 08:06:11 -05:00
Major Cooke
b6b1b25035
Added ZSprites.
...
- Effectively similar to Actors, but without the excess.
- Can be created with either the `level` function or the static `Spawn` function in ZSprite.
- STAT_SPRITE belongs to ZSprites only; ZSprites cannot be moved out of, nor can anything else be moved in to, this statnum.
Misc:
- Fixed (Sprite)Offset taking roll into account.
Crediting phantombeta, RicardoLuis0 and RaveYard for assistance.
2023-11-17 08:06:11 -05:00
Christoph Oelckers
9f90c64727
use FTranslationID in the high level parts of the hardware renderer.
2023-11-09 23:04:11 +01:00
Christoph Oelckers
c426094d54
use translation IDs in the software renderer.
2023-11-09 23:04:11 +01:00
Christoph Oelckers
c5c822ea75
use FTranslationID in the model code.
2023-11-09 23:04:11 +01:00
Christoph Oelckers
8c5eb2c807
use FTranslationID in all places where strict type checking is needed.
...
This means all properties in serializable classes now use this wrapper type. The backend hasn't been changed yet
2023-11-09 23:04:10 +01:00
Christoph Oelckers
299728d3d9
fix copy/paste error in HWWallDispatcher
2023-11-02 21:40:08 +01:00
Professor Hastig
677e1c888b
fixed: Skewing to front and back floor was swapped.
2023-11-02 16:27:43 +01:00
Christoph Oelckers
bdee1f3d34
added per-sector sky UDMF properties.
...
(Hardware rendering only, the SW renderer is not in a state where this is easily done.)
2023-10-29 17:49:59 +01:00
Christoph Oelckers
12bc9db609
hooked up the per-level colormaps with the hardware renderer.
2023-10-29 08:13:01 +01:00
Ricardo Luís Vaz Silva
e12f2ce0fe
Allow setting the colormap from mapinfo (dsda-doom)
2023-10-29 07:40:56 +01:00
Magnus Norddahl
d93c1798f6
Merge remote-tracking branch 'gzdoom/master'
2023-10-27 20:44:09 +02:00