Giter VIP home page Giter VIP logo

love_shaders's Introduction

shaders in lua from various places

added incy wincy

the image does not do it justice shader incy wincy

see here for the shader toy version: https://www.shadertoy.com/view/7dGfWK

older notes

Notes on 2016-04-08 Found a new site and have added more examples :) http://thebookofshaders.com

More notes on 2014-07-17 Found this http://www.opengl.org/wiki/Built-in_Variable_(GLSL) And this article http://weworkweplay.com/play/introduction-to-glsl-and-fragment-pixel-shaders/ Which lead me to do shader1 The cool thing about shader1 is that it takes a vec2d mouse input parameter in the shader!

The other day I read this article http://blogs.love2d.org/content/beginners-guide-shaders and my mind was blown.

Here are some shaders that I found and translated to lua/love.

I am absolutely not the author of these shaders I just changed them enough to get them to work in lua. Complete and total props back to the original authors.

The site I used to find shaders is shadertoy https://www.shadertoy.com/

Amazing work is done there.

I tried to leave some comments in the files.

Very cool that love/lua even exists. Check it out here https://love2d.org/

To use any of these shaders you need love version 0.9.1 (the newest as of 2014/07/01). Get love installed then you can clone this repo and just run love on each of the directories. The shaders are really mind blowing to me. Cool stuff.

Here is a screenshot of what the flame shader looks like: shader flame example

And then one from the shader fire too shader fire

tony

love_shaders's People

Contributors

tonetheman 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.