xash3d-fwgs/ref_vk/vk_lightmap.h
Ivan Avdeev fc9eedbd9d apply proper lightstyles on map load
Lightstyles remain fixed for the entire map duration. Need to implement either texture reupload in VK, or devise some other scheme of updating ligtmaps w/o texture reupload (lightstylevalues uniform buffers?).
2021-02-03 10:06:21 -08:00

13 lines
292 B
C

#pragma once
#include "const.h"
#include "com_model.h"
#define BLOCK_SIZE_MAX 1024
#define BLOCK_SIZE BLOCK_SIZE_MAX
void VK_ClearLightmap( void );
void VK_CreateSurfaceLightmap( msurface_t *surf, const model_t *loadmodel );
void VK_UploadLightmap( void );
void VK_RunLightStyles( void );