mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-06 04:52:16 +00:00
7131fe6c6e
This creates a lot less mess than one big texture and also allows easier use of texelFetch in the server which is preferable for data textures.
25 lines
525 B
C++
25 lines
525 B
C++
#pragma once
|
|
|
|
class PolymostShader;
|
|
|
|
struct PolymostRenderState
|
|
{
|
|
float Clamp[2];
|
|
float Shade;
|
|
float NumShades = 64.f;
|
|
float VisFactor = 128.f;
|
|
float FogEnabled = 1.f;
|
|
float UseColorOnly;
|
|
float UsePalette = 1.f;
|
|
float UseDetailMapping;
|
|
float UseGlowMapping;
|
|
float NPOTEmulation;
|
|
float NPOTEmulationFactor = 1.f;
|
|
float NPOTEmulationXOffset;
|
|
float Brightness = 1.f;
|
|
float ShadeInterpolate = 1.f;
|
|
float Fog[4];
|
|
float FogColor[4];
|
|
|
|
void Apply(PolymostShader *shader);
|
|
};
|