Unravel Engine C++ Reference
Loading...
Searching...
No Matches
assao_pass.cpp File Reference
#include "assao_pass.h"
#include "graphics/graphics.h"
#include <engine/assets/asset_manager.h>
#include <graphics/render_pass.h>
#include <graphics/texture.h>
#include <string>

Go to the source code of this file.

Namespaces

namespace  unravel
 

Macros

#define SAMPLER_POINT_CLAMP   (BGFX_SAMPLER_POINT | BGFX_SAMPLER_UVW_CLAMP)
 
#define SAMPLER_POINT_MIRROR   (BGFX_SAMPLER_POINT | BGFX_SAMPLER_UVW_MIRROR)
 
#define SAMPLER_LINEAR_CLAMP   (BGFX_SAMPLER_UVW_CLAMP)
 
#define SSAO_DEPTH_MIP_LEVELS   4
 

Functions

void unravel::vec2Set (float *_v, float _x, float _y)
 
void unravel::vec4Set (float *_v, float _x, float _y, float _z, float _w)
 
void unravel::vec4iSet (int32_t *_v, int32_t _x, int32_t _y, int32_t _z, int32_t _w)
 

Variables

static const int32_t unravel::cMaxBlurPassCount = 6
 

Macro Definition Documentation

◆ SAMPLER_LINEAR_CLAMP

#define SAMPLER_LINEAR_CLAMP   (BGFX_SAMPLER_UVW_CLAMP)

Definition at line 13 of file assao_pass.cpp.

◆ SAMPLER_POINT_CLAMP

#define SAMPLER_POINT_CLAMP   (BGFX_SAMPLER_POINT | BGFX_SAMPLER_UVW_CLAMP)

Definition at line 11 of file assao_pass.cpp.

◆ SAMPLER_POINT_MIRROR

#define SAMPLER_POINT_MIRROR   (BGFX_SAMPLER_POINT | BGFX_SAMPLER_UVW_MIRROR)

Definition at line 12 of file assao_pass.cpp.

◆ SSAO_DEPTH_MIP_LEVELS

#define SSAO_DEPTH_MIP_LEVELS   4

Definition at line 15 of file assao_pass.cpp.