OpenGothic
Open source reimplementation of Gothic I and II
Loading...
Searching...
No Matches
renderer.cpp File Reference
#include "renderer.h"
#include <Tempest/Color>
#include <Tempest/Fence>
#include <Tempest/Log>
#include <Tempest/StorageImage>
#include <cassert>
#include "ui/inventorymenu.h"
#include "ui/videowidget.h"
#include "camera.h"
#include "gothic.h"
#include "utils/string_frm.h"

Go to the source code of this file.

Functions

static uint32_t nextPot (uint32_t x)
 
static float smoothstep (float edge0, float edge1, float x)
 
static float linearstep (float edge0, float edge1, float x)
 
static Size tileCount (Size sz, int s)
 

Variables

static const bool skyPathTrace = false
 

Function Documentation

◆ linearstep()

static float linearstep ( float  edge0,
float  edge1,
float  x 
)
static

Definition at line 35 of file renderer.cpp.

◆ nextPot()

static uint32_t nextPot ( uint32_t  x)
static

Definition at line 19 of file renderer.cpp.

◆ smoothstep()

static float smoothstep ( float  edge0,
float  edge1,
float  x 
)
static

Definition at line 30 of file renderer.cpp.

◆ tileCount()

static Size tileCount ( Size  sz,
int  s 
)
static

Definition at line 40 of file renderer.cpp.

Variable Documentation

◆ skyPathTrace

const bool skyPathTrace = false
static

Definition at line 17 of file renderer.cpp.