Skip to content

Commit 1035b0c

Browse files
committed
Changed attr header for star.hlsli file
1 parent 956f7c8 commit 1035b0c

File tree

1 file changed

+3
-5
lines changed
  • Samples/Desktop/D3D12Raytracing/src/D3D12RaytracingSakuraForestSER

1 file changed

+3
-5
lines changed

Samples/Desktop/D3D12Raytracing/src/D3D12RaytracingSakuraForestSER/Star.hlsli

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
// IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR
88
// PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
99
//
10-
// Portions of this code are based on work by Pablo Roman Andrioli.
11-
// Star Nest.
12-
// Licensed under the MIT License.
10+
// Portions of this file incorporate work by Pablo Roman Andrioli,
11+
// specifically the Star Nest volumetric fractal clouds effect formula,
12+
// which is licensed under the MIT License.
1313
//
1414
//*********************************************************
1515

@@ -50,9 +50,7 @@ float3 CalculateStarNest(float3 skyPosition, float3 rayDir)
5050
// Normalize & smooth fractal density
5151
fractalDensity = saturate(fractalDensity / (FractalSampleSteps * FractalIterations * 0.12));
5252
float smoothedDensity = smoothstep(0.1, 0.9, fractalDensity);
53-
5453
return smoothedDensity;
5554
}
5655

57-
5856
#endif // STAR_NEST_H

0 commit comments

Comments
 (0)