Coder Social home page Coder Social logo

shader2lcd's Introduction

Shader2LCD

Shader2LCD

An SDL2 port of oShaderToy that Displays GPU Shaders onto the OGST Gaming Kit LCD

Building

$ sudo apt-get install libsoil-dev libsdl2-dev
$ git clone https://github.com/AreaScout/Shader2LCD.git
$ cd Shader2LCD
$ make -j7
$ sudo make install

Usage

If you run this application under X11 you should add the DISPLAY prefix or set it as an environment variable

$ DISPLAY=:0.0 Shader2LCD shaders/relentless.f.glsl

some shaders needs textures, there are three examples that uses unique textures all others you can just choose from texl0.jpg - texl2.jpg the easiest way to check if a shader needs an texture is to just start it without texture path command line argument, if the display stays black you can just add from texl0.jpg to texl2.jpg, except on those three:

Shader2LCD shaders/amigademos1.f.glsl textures/texl3.png
Shader2LCD shaders/basicscroll.f.glsl textures/texl3.png
Shader2LCD shaders/sunsurface.f.glsl textures/texl4.png

See also

ODROID Forum

Shader2LCD2

shader2lcd's People

Contributors

areascout avatar

Stargazers

 avatar  avatar  avatar

Watchers

 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.