mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-29 04:50:42 +00:00
30 lines
460 B
C
30 lines
460 B
C
|
#pragma once
|
||
|
|
||
|
#include "matrix.h"
|
||
|
|
||
|
struct HWDrawInfo;
|
||
|
|
||
|
struct HWViewpointUniforms
|
||
|
{
|
||
|
VSMatrix mProjectionMatrix;
|
||
|
VSMatrix mViewMatrix;
|
||
|
VSMatrix mNormalViewMatrix;
|
||
|
FVector4 mCameraPos;
|
||
|
FVector4 mClipLine;
|
||
|
|
||
|
float mGlobVis = 1.f;
|
||
|
int mPalLightLevels = 0;
|
||
|
int mViewHeight = 0;
|
||
|
float mClipHeight = 0.f;
|
||
|
float mClipHeightDirection = 0.f;
|
||
|
int mShadowmapFilter = 1;
|
||
|
|
||
|
void CalcDependencies()
|
||
|
{
|
||
|
mNormalViewMatrix.computeNormalMatrix(mViewMatrix);
|
||
|
}
|
||
|
};
|
||
|
|
||
|
|
||
|
|