Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions Resources/SkyAtmosphereBruneton.hlsl
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ cbuffer SKYATMOSPHERE_BUFFER : register(b1)
//
float4x4 gSkyViewProjMat;
float4x4 gSkyInvViewProjMat;
float4x4 gSkyInvProjMat;
float4x4 gSkyInvViewMat;
float4x4 gShadowmapViewProjMat;

float3 camera;
Expand All @@ -103,6 +105,12 @@ cbuffer SKYATMOSPHERE_BUFFER : register(b1)
float pad6;
float3 view_ray;
float pad7;

// not used in Bruneton model
float MultipleScatteringFactor;
float MultiScatteringLUTRes;
float pad9;
float pad10;
};

cbuffer SKYATMOSPHERE_SIDE_BUFFER : register(b2)
Expand Down