Sky Scrolling

Shader

Customizable skybox constructor with automated scrolling for Sphere, Cylinder, and Cube projections

psychofabrikats updated 6mo ago 0 MB engine 25
thumb_up 5 open_in_new View on sbox.game

A customizable skybox shader with built-in scrolling support


Supports three projection modes: Sphere, Cube, and Cylinder
Lets you animate the sky by setting per-face scroll speed and tiling
Cube mode includes an optional Advanced 6-Sided variant where each face gets its own texture, scroll speed, and tiling independently

Good for stylized skies, alien environments, or anything that needs a custom static or animated background.


How to use:
  1. Find the 2D Skybox component in your scene. Assign your material to its Sky Material field. 
  2. Open the material and set the Shader to sky_scrolling.
  3. Pick a mapping mode: 
    • Sphere — single texture wrapped around the entire sky
    • Cube — box-shaped projection, with optional Advanced 6-Sided mode (each face its own texture)
    • Cylinder — cylindrical wrap with separate top/bottom caps
  4. Assign your textures to the available slots.
  5. Set scroll speed — float2 value per face, range -0.5 to 0.5. Zero = static.
  6. Set tiling — integer for sides (avoids seam artifacts), float2 for top/bottom caps.


Shader source code:
https://gist.github.com/Igoryoka/ab8da845e14e24d560828dc143a70224



1
Total Users
8
Total Sessions
3.2 hours
Total Playtime
0 recorded entries
Rank Player Score Recorded
refresh
Discovering package leaderboards...
Package ID: psychofabrikats.skyscrolling
Created: 2026-04-07 21:10 UTC
Updated: 2026-04-07 21:10 UTC
Type: shader
Public: Yes
Version: 183309
files: 1
Size: 0.1 MB
Engine Version: 25
Asset Version ID: 183309
Version Created: 2026-04-07 21:10 UTC
Hash: -4896992094074984062
Manifest: Open manifest

more_horiz Additional Properties

Single Asset Source: shaders/sky_scrolling.shader
Primary Asset: shaders/sky_scrolling.shader
Asset Type: Shader
Asset Type Extension: shader
Asset Type Is Game Resource: false
Asset Type Category: Rendering
Asset Type Target: Sandbox.Shader
Asset Type Is Simple: false
Asset Type Has Dependencies: true
new_releases Latest Update Apr 7, 2026
First upload
183309 Apr 7, 2026
First upload
info Live API Passthrough & Removal Notice

This file manifest and asset metadata are retrieved live directly from the official Facepunch s&box public API. s&box Explorer does not host, store, or redistribute any package files. All download links route directly to Facepunch CDN servers.