Nebula
Loading...
Searching...
No Matches
shadersemantics.h
Go to the documentation of this file.
1#pragma once
2//------------------------------------------------------------------------------
12#include "core/types.h"
13
14//------------------------------------------------------------------------------
15#define NEBULA_SEMANTIC_CHARACTERINDEX "CharacterIndex"
16#define NEBULA_SEMANTIC_JOINTPALETTE "JointPalette"
17#define NEBULA_SEMANTIC_JOINTBUFFER "JointBuffer"
18#define NEBULA_SEMANTIC_JOINTBLOCK "JointBlock"
19#define NEBULA_SEMANTIC_MODELVIEWPROJECTION "ModelViewProjection"
20#define NEBULA_SEMANTIC_INVVIEWPROJECTION "InvViewProjection"
21#define NEBULA_SEMANTIC_MODEL "Model"
22#define NEBULA_SEMANTIC_VIEW "View"
23#define NEBULA_SEMANTIC_MODELVIEW "ModelView"
24#define NEBULA_SEMANTIC_INVMODEL "InvModel"
25#define NEBULA_SEMANTIC_INVVIEW "InvView"
26#define NEBULA_SEMANTIC_INVMODELVIEW "InvModelView"
27#define NEBULA_SEMANTIC_VIEWPROJECTION "ViewProjection"
28#define NEBULA_SEMANTIC_EYEPOS "EyePos"
29#define NEBULA_SEMANTIC_FOCALLENGTHNEARFAR "FocalLengthNearFar"
30#define NEBULA_SEMANTIC_PROJECTION "Projection"
31#define NEBULA_SEMANTIC_INVPROJECTION "InvProjection"
32#define NEBULA_SEMANTIC_VIEWMATRIXARRAY "ViewMatrixArray"
33#define NEBULA_SEMANTIC_PIXELSIZE "PixelSize"
34#define NEBULA_SEMANTIC_HALFPIXELSIZE "HalfPixelSize"
35#define NEBULA_SEMANTIC_LIGHTPOSRANGE "LightPosRange"
36#define NEBULA_SEMANTIC_LIGHTCOLOR "LightColor"
37#define NEBULA_SEMANTIC_LIGHTSHADOWBIAS "LightShadowBias"
38#define NEBULA_SEMANTIC_GLOBALLIGHTDIRWORLDSPACE "GlobalLightDirWorldspace"
39#define NEBULA_SEMANTIC_GLOBALLIGHTCOLOR "GlobalLightColor"
40#define NEBULA_SEMANTIC_GLOBALAMBIENTLIGHTCOLOR "GlobalAmbientLightColor"
41#define NEBULA_SEMANTIC_GLOBALBACKLIGHTCOLOR "GlobalBackLightColor"
42#define NEBULA_SEMANTIC_GLOBALBACKLIGHTOFFSET "GlobalBackLightOffset"
43#define NEBULA_SEMANTIC_GLOBALLIGHTSHADOWBIAS "GlobalLightShadowBias"
44#define NEBULA_SEMANTIC_LIGHTPROJTRANSFORM "LightProjTransform"
45#define NEBULA_SEMANTIC_LIGHTTRANSFORM "LightTransform"
46#define NEBULA_SEMANTIC_SHADOWTRANSFORM "ShadowTransform"
47#define NEBULA_SEMANTIC_SHADOWPROJTRANSFORM "ShadowProjTransform"
48#define NEBULA_SEMANTIC_INVERSELIGHTPROJECTION "InvLightProj"
49#define NEBULA_SEMANTIC_SHADOWOFFSETSCALE "ShadowOffsetScale"
50#define NEBULA_SEMANTIC_SHADOWCONSTANTS "ShadowConstants"
51#define NEBULA_SEMANTIC_SHADOWINTENSITY "ShadowIntensity"
52#define NEBULA_SEMANTIC_CASTSHADOWS "CastShadows"
53#define NEBULA_SEMANTIC_FADEVALUE "FadeValue"
54#define NEBULA_SEMANTIC_SATURATION "Saturation"
55#define NEBULA_SEMANTIC_BALANCE "Balance"
56#define NEBULA_SEMANTIC_MAXLUMINANCE "MaxLuminance"
57#define NEBULA_SEMANTIC_FOGCOLOR "FogColor"
58#define NEBULA_SEMANTIC_FOGDISTANCES "FogDistances"
59#define NEBULA_SEMANTIC_HDRBLOOMCOLOR "HDRBloomColor"
60#define NEBULA_SEMANTIC_HDRBLOOMSCALE "HDRBloomScale"
61#define NEBULA_SEMANTIC_HDRBRIGHTPASSTHRESHOLD "HDRBrightPassThreshold"
62#define NEBULA_SEMANTIC_DOFDISTANCES "DoFDistances"
63#define NEBULA_SEMANTIC_EMITTERTRANSFORM "EmitterTransform"
64#define NEBULA_SEMANTIC_BILLBOARD "Billboard"
65#define NEBULA_SEMANTIC_BBOXCENTER "BBoxCenter"
66#define NEBULA_SEMANTIC_BBOXSIZE "BBoxSize"
67#define NEBULA_SEMANTIC_TIME "Time"
68#define NEBULA_SEMANTIC_TIMEDIFF "TimeDiff"
69#define NEBULA_SEMANTIC_TIMEANDRANDOM "Time_Random_Luminance_X"
70#define NEBULA_SEMANTIC_RANDOM "Random"
71#define NEBULA_SEMANTIC_OBJECTID "ObjectId"
72#define NEBULA_SEMANTIC_ANIMPHASES "NumAnimPhases"
73#define NEBULA_SEMANTIC_ANIMSPERSEC "AnimFramesPerSecond"
74#define NEBULA_SEMANTIC_UVTOVIEWA "UVToViewA"
75#define NEBULA_SEMANTIC_UVTOVIEWB "UVToViewB"
76#define NEBULA_SEMANTIC_R "R"
77#define NEBULA_SEMANTIC_R2 "R2"
78#define NEBULA_SEMANTIC_NEGINVR2 "NegInvR2"
79#define NEBULA_SEMANTIC_PIXELFOCALLENGTH "FocalLength"
80#define NEBULA_SEMANTIC_AORESOLUTION "AOResolution"
81#define NEBULA_SEMANTIC_INVAORESOLUTION "InvAOResolution"
82#define NEBULA_SEMANTIC_MAXRADIUSPIXELS "MaxRadiusPixels"
83#define NEBULA_SEMANTIC_STRENGHT "Strength"
84#define NEBULA_SEMANTIC_TANANGLEBIAS "TanAngleBias"
85#define NEBULA_SEMANTIC_POWEREXPONENT "PowerExponent"
86#define NEBULA_SEMANTIC_FALLOFF "BlurFalloff"
87#define NEBULA_SEMANTIC_DEPTHTHRESHOLD "BlurDepthThreshold"
88#define NEBULA_SEMANTIC_COLORSOURCE "ColorSource"
89#define NEBULA_SEMANTIC_LIGHTPOS "LightPos"
90#define NEBULA_SEMANTIC_DENSITY "Density"
91#define NEBULA_SEMANTIC_DECAY "Decay"
92#define NEBULA_SEMANTIC_WEIGHT "Weight"
93#define NEBULA_SEMANTIC_EXPOSURE "Exposure"
94#define NEBULA_SEMANTIC_LIGHTTEXTURE "LightTexture"
95#define NEBULA_SEMANTIC_WORLDVIEWPROJ "WorldViewProjection"
96#define NEBULA_SEMANTIC_WORLD "World"
97#define NEBULA_SEMANTIC_WORLDVIEW "WorldView"
98#define NEBULA_SEMANTIC_CSMSHADOWMATRIX "CSMShadowMatrix"
99#define NEBULA_SEMANTIC_CASCADEOFFSET "CascadeOffset"
100#define NEBULA_SEMANTIC_CASCADESCALE "CascadeScale"
101#define NEBULA_SEMANTIC_CASCADELEVELS "CascadeLevels"
102#define NEBULA_SEMANTIC_PCFBLURSTART "PCFBlurForLoopStart"
103#define NEBULA_SEMANTIC_PCFBLUREND "PCFBlurForLoopEnd"
104#define NEBULA_SEMANTIC_MINBORDERPADDING "MinBorderPadding"
105#define NEBULA_SEMANTIC_MAXBORDERPADDING "MaxBorderPadding"
106#define NEBULA_SEMANTIC_SHADOWPARTITIONSIZE "ShadowPartitionSize"
107#define NEBULA_SEMANTIC_CASCADEBLENDAREA "CascadeBlendArea"
108#define NEBULA_SEMANTIC_TEXELSIZE "TexelSize"
109#define NEBULA_SEMANTIC_NATIVETEXELSIZEINX "NativeTexelSizeInX"
110#define NEBULA_SEMANTIC_CASCADEFRUSTUMSEYE "CascadeFrustumsEyeSpaceDepthsFloat"
111#define NEBULA_SEMANTIC_CASCADEFRUSTUMSEYE4 "CascadeFrustumsEyeSpaceDepthsFloat4"
112#define NEBULA_SEMANTIC_PIXELCAMERAPOSITION "CameraPosition"
113#define NEBULA_SEMANTIC_VERTEXCAMERAPOSITION "CameraPosition"
114#define NEBULA_SEMANTIC_LIGHTDIR "LightDir"
115#define NEBULA_SEMANTIC_CONTRAST "Contrast"
116#define NEBULA_SEMANTIC_BRIGHTNESS "Brightness"
117#define NEBULA_SEMANTIC_SKYBLENDFACTOR "SkyBlendFactor"
118#define NEBULA_SEMANTIC_SKYROTATIONFACTOR "SkyRotationFactor"
119#define NEBULA_SEMANTIC_SKY1 "SkyLayer1"
120#define NEBULA_SEMANTIC_SKY2 "SkyLayer2"
121#define NEBULA_SEMANTIC_ENVIRONMENT "EnvironmentMap"
122#define NEBULA_SEMANTIC_IRRADIANCE "IrradianceMap"
123#define NEBULA_SEMANTIC_DEPTHCONEMAP "DepthConeMap"
124#define NEBULA_SEMANTIC_ENVFALLOFF "FalloffDistance"
125#define NEBULA_SEMANTIC_ENVFALLOFFDISTANCE "FalloffDistance"
126#define NEBULA_SEMANTIC_ENVFALLOFFPOWER "FalloffPower"
127#define NEBULA_SEMANTIC_NUMENVMIPS "NumEnvMips"
128#define NEBULA_SEMANTIC_BBOXMIN "BBoxMin"
129#define NEBULA_SEMANTIC_BBOXMAX "BBoxMax"
130#define NEBULA_SEMANTIC_PEROBJECT "PerObject"
131
132// instancing
133#define NEBULA_SEMANTIC_MODELARRAY "ModelArray"
134#define NEBULA_SEMANTIC_MODELVIEWARRAY "ModelViewArray"
135#define NEBULA_SEMANTIC_MODELVIEWPROJECTIONARRAY "ModelViewProjectionArray"
136#define NEBULA_SEMANTIC_OBJECTIDARRAY "ObjectIdArray"
137
138#define NEBULA_SEMANTIC_MATDIFFUSE "MatDiffuse"
139#define NEBULA_SEMANTIC_DEBUGSHADERLAYER "DebugShaderLayer"
140#define NEBULA_SEMANTIC_DIFFMAP0 "DiffMap0"
141#define NEBULA_SEMANTIC_DIFFMAP1 "DiffMap1"
142#define NEBULA_SEMANTIC_INTENSITY0 "Intensity0"
143#define NEBULA_SEMANTIC_INTENSITY1 "Intensity1"
144#define NEBULA_SEMANTIC_INTENSITY2 "Intensity2"
145#define NEBULA_SEMANTIC_NORMALBUFFER "NormalBuffer"
146#define NEBULA_SEMANTIC_DEPTHBUFFER "DepthBuffer"
147#define NEBULA_SEMANTIC_LIGHTBUFFER "LightBuffer"
148#define NEBULA_SEMANTIC_LIGHTPROJMAP "LightProjMap"
149#define NEBULA_SEMANTIC_LIGHTPROJCUBE "LightProjCube"
150#define NEBULA_SEMANTIC_SHADOWPROJMAP "ShadowProjMap"
151#define NEBULA_SEMANTIC_SHADOWPROJCUBE "ShadowProjCube"
152#define NEBULA_SEMANTIC_OBJECTID "ObjectId"
153#define NEBULA_SEMANTIC_REPEATINDEX "RepeatIndex"
154#define NEBULA_SEMANTIC_OCCLUSIONCONSTANTS "OcclusionConstants"
155#define NEBULA_SEMANTIC_SHADOWBUFFERSIZE "ShadowBufferSize"
156#define NEBULA_SEMANTIC_RENDERTARGETDIMENSIONS "RenderTargetDimensions"
157#define NEBULA_SEMANTIC_RENDERCUBEFACE "RenderCubeFace"
158
159//------------------------------------------------------------------------------