Skip to content

Commit

Permalink
style: 🎨 apply clang-format changes
Browse files Browse the repository at this point in the history
  • Loading branch information
doodlum authored and github-actions[bot] committed Jan 31, 2025
1 parent f242921 commit c9257ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ float smoothbumpstep(float edge0, float edge1, float x)

float distance = length(position.xyz);
float distanceFactor = smoothbumpstep(0.0, 4.0, distance);

if (distance < 1.0)
distanceFactor = sqrt(distanceFactor);

Expand Down
2 changes: 1 addition & 1 deletion package/Shaders/Common/SharedData.hlsli
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ namespace SharedData
uint FrameCountAlwaysActive;
bool InInterior; // If the area lacks a directional shadow light e.g. the sun or moon
bool InMapMenu; // If the world/local map is open (note that the renderer is still deferred here)
bool HideSky; // HideSky flag in WorldSpace, e.g. Blackreach
bool HideSky; // HideSky flag in WorldSpace, e.g. Blackreach
};

struct GrassLightingSettings
Expand Down

0 comments on commit c9257ca

Please sign in to comment.