Skip to content

Commit 82a2287

Browse files
committed
WIP
1 parent a9cc239 commit 82a2287

5 files changed

Lines changed: 652 additions & 444 deletions

File tree

assets/core/scenes/scene-helmet.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"bPhysicsDebugDraw": false,
1010
"bDrawAllBoundingBoxes": false,
1111
"bFrustumCulling": true,
12-
"bMSAA": true,
12+
"bMSAA": false,
1313
"szIndexBufferSize": 32000000,
1414
"szVertexBufferSize": 32000000,
1515
"szDataBufferSize": 32000000,
@@ -60,7 +60,7 @@
6060
"fSlopeDepthBias": -1.750
6161
},
6262
"bloom": {
63-
"active" : true,
63+
"active" : false,
6464
"fStrength": 0.05,
6565
"fRadius": 1.5,
6666
"uChainLength": 5
@@ -111,7 +111,7 @@
111111
"uResolution": 128,
112112
"uSamples": 1024,
113113
"uInterval": 6,
114-
"tFlags": ["PL_ENVIRONMENT_PROBE_FLAGS_INCLUDE_SKY"]
114+
"tFlags": ["PL_ENVIRONMENT_PROBE_FLAGS_INCLUDE_SKY", "PL_ENVIRONMENT_PROBE_FLAGS_REALTIME"]
115115
}
116116
],
117117
"entities": [

extensions/pl_graphics_ext.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1154,6 +1154,7 @@ pl_load_graphics_ext(plApiRegistryI* ptApiRegistry, bool bReload)
11541154
.copy_texture_to_buffer = pl_graphics_copy_texture_to_buffer,
11551155
.copy_texture = pl_graphics_copy_texture,
11561156
.generate_mipmaps = pl_graphics_generate_mipmaps,
1157+
.generate_mipmaps_old = pl_graphics_generate_mipmaps_old,
11571158
.copy_buffer = pl_graphics_copy_buffer,
11581159
.signal_semaphore = pl_graphics_signal_semaphore,
11591160
.wait_semaphore = pl_graphics_wait_semaphore,

extensions/pl_graphics_ext.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -687,6 +687,7 @@ typedef struct _plGraphicsI
687687
void (*copy_texture_to_buffer) (plBlitEncoder*, plTextureHandle, plBufferHandle, uint32_t regionCount, const plBufferImageCopy*);
688688
void (*copy_texture) (plBlitEncoder*, plTextureHandle src, plTextureHandle dst, uint32_t regionCount, const plImageCopy*);
689689
void (*generate_mipmaps) (plBlitEncoder*, plTextureHandle);
690+
void (*generate_mipmaps_old) (plDevice*, plTextureHandle);
690691
void (*copy_buffer) (plBlitEncoder*, plBufferHandle source, plBufferHandle destination, uint64_t sourceOffset, uint64_t destinationOffset, size_t);
691692
plCommandBuffer* (*get_blit_encoder_command_buffer)(plBlitEncoder*);
692693

0 commit comments

Comments
 (0)