GithubHelp home page GithubHelp logo

dtcxzyw / shadertoy Goto Github PK

View Code? Open in Web Editor NEW
7.0 3.0 0.0 20.06 MB

Unofficial ShaderToy live viewer

Home Page: https://github.com/dtcxzyw/shadertoy

License: Apache License 2.0

CMake 2.19% C++ 97.81%
glsl glsl-sandbox opengl shaderlab shaders shadertoy shadertoy-compatibility learnopengl

shadertoy's Introduction

shadertoy


build-windows build-linux build-macos

Unofficial ShaderToy live viewer

Gallery

goo

expansive reaction-diffusion

mandelbrot

MultiscaleMIPFluid

RainbowSand

subsurface

noise-contour

cubemaps

See examples for more shaders.

Features

Render passes:

  • Image
  • Cubemap
  • Sound
  • Buffer
  • Common

Channels:

  • Textures
  • Music
  • Video
  • Volumes
  • Cubemaps
  • Buffer
  • Keyboard
  • Webcam
  • Microphone

Utilities:

  • Import from shadertoy.com
  • Render pass editor
  • GLSL shader editor
  • Export/import shaders in STTF(ShaderToy Transmission Format)
  • Screenshots
  • Video recording
  • Custom uniforms
  • Custom meshes
  • Anti aliasing

Contributions are welcome!

Releases

See Releases Page for pre-built binaries (windows x64/linux x86-64/macos arm64/macos x86-64).

Build Instructions

Prerequisites

  • Windows/Linux/macOS
  • CMake 3.12+
  • vcpkg
  • Graphics API: OpenGL 4.5+

Clone the repository

git clone --recursive https://github.com/dtcxzyw/shadertoy.git
cd shadertoy

Configure and build

cmake -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=<path-to-prefix> -DCMAKE_TOOLCHAIN_FILE=<path-to-vcpkg>/scripts/buildsystems/vcpkg.cmake
cmake --build build -j
cmake --build build -t install

Run shadertoy live viewer

<path-to-prefix>/shadertoy[.exe] [<path-to-sttf/shadertoy-url>]

License

This repository is licensed under the Apache License 2.0. See LICENSE for details.

shadertoy's People

Contributors

dtcxzyw avatar rogerdtz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.