Add color blending for lights
This commit is contained in:
parent
5cf202f24e
commit
eb134d3fbf
5 changed files with 47 additions and 7 deletions
|
|
@ -137,6 +137,8 @@ void VkRaytrace::CreateBuffers()
|
|||
info.TextureIndex = -1;
|
||||
}
|
||||
|
||||
info.Alpha = surface->alpha;
|
||||
|
||||
surfaceInfo.Push(info);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ struct SurfaceInfo
|
|||
float SamplingDistance;
|
||||
uint32_t PortalIndex;
|
||||
int32_t TextureIndex;
|
||||
float Padding;
|
||||
float Alpha;
|
||||
};
|
||||
|
||||
struct SurfaceVertex
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue