add game&rawdata
This commit is contained in:
parent
0133cd976c
commit
49b34b5546
45731 changed files with 709831 additions and 0 deletions
21
gamedata/shaders/r3/common_cbuffers.h
Normal file
21
gamedata/shaders/r3/common_cbuffers.h
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
#ifndef common_cbuffers_h_included
|
||||
#define common_cbuffers_h_included
|
||||
|
||||
#ifndef MSAA_OPTIMIZATION
|
||||
// Used by dynamic lights and volumetric effects
|
||||
cbuffer dynamic_light
|
||||
{
|
||||
float4 Ldynamic_color; // dynamic light color (rgb1) - spot/point/sun
|
||||
float4 Ldynamic_pos; // dynamic light pos+1/range(w) - spot/point
|
||||
float4 Ldynamic_dir; // dynamic light direction - sun
|
||||
}
|
||||
#else
|
||||
cbuffer dynamic_light
|
||||
{
|
||||
float4 Ldynamic_color; // dynamic light color (rgb1) - spot/point/sun
|
||||
float4 Ldynamic_pos; // dynamic light pos+1/range(w) - spot/point
|
||||
float4 Ldynamic_dir; // dynamic light direction - sun
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // common_cbuffers_h_included
|
||||
Loading…
Add table
Add a link
Reference in a new issue