Skip to content

Commit

Permalink
Fix star aspect ratio, sun wobblespeed and tiling seam
Browse files Browse the repository at this point in the history
  • Loading branch information
Fueredoriku committed Apr 24, 2024
1 parent 09aebb4 commit 955c259
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Assets/Scripts/VFXPositionFormatter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public class VFXTextureFormatter : MonoBehaviour
public GraphicsBuffer Buffer { get => buffer; }

/// <summary>
///
/// Sets the buffer with current data.
/// </summary>
/// <param name="size">Size of the texture, typically the maximum number of particles or the number of patricles in each strip</param>
public void Initialize(int size)
Expand Down
2 changes: 1 addition & 1 deletion Assets/Shaders/StylizedSkybox.shadergraph
Original file line number Diff line number Diff line change
Expand Up @@ -11864,7 +11864,7 @@
"m_StageCapability": 3,
"m_Value": {
"e00": 8.0,
"e01": 8.0,
"e01": 4.0,
"e02": 0.0,
"e03": 0.0,
"e10": 0.0,
Expand Down
2 changes: 1 addition & 1 deletion Assets/Shaders/SunSDF.hlsl
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ float2 wobble_float(float2 position)
{
const float frequency = 80;
const float amount = 0.012;
float offset = iTime/10.;
float offset = iTime/30.;
offset = fmod(offset, 6.283185 / frequency);
position += offset;
float2 wobble = sin(position.y * frequency) * amount;
Expand Down
2 changes: 1 addition & 1 deletion Assets/Textures/tiling-perlin-noise.png.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 955c259

Please sign in to comment.