Git Product home page Git Product logo

freeframemaker's Introduction

FreeframeMaker

A source code template to create FreeframeGL plugins from shader and image files.

FreeframeMaker loads shader and image files into resources and saves them with the plugin. The plugin then accesses these resources when it loads. This project does not implement the ShaderToy specification. Rather it is a basic template to use shaders of all types adhering to Freeframe specifications. The programmer is responsible fo altering the shader uniforms and plugin user control variables. Search the code for "Make changes for your shader here".

For non-programmers, there is an alternative Windows program "ShaderToySender" - http://spout.zeal.co/shadertoysender- that can be used to generate Freeframe plugins from ShaderToy shaders directly from the menu without any programming at all. It also provides for editing and testing of the shader and customisation of parameters before saving a plugin.

How to use

This is a Windows Visual Studio 2015 C++ project. Download the project and unzip into in any folder, open the VS2015 solution file and change to "release". It should build as-is.

Copy the shader text file you require into the SHADERS folder. Copy any images that the shader will use to the TEXTURES folder. Edit "shaderfiles.h" to reference those files. Define "EFFECT_PLUGIN" for an effect that uses a texture from the host. Define the RESOLUTION_WIDTH for a source plugin to balance performance with resolution. Change the plugin Name, ID and information in ShaderMaker.cpp and rename the resulting dll. Details in "Shaderfiles.h".

Credits

(C) Lynn Jarvis [email protected] - licence LGPL3 OpenGL image loading library SOIL http://www.lonesock.net/soil.html - licence plublic domain. FreeFrameGL version by Resolume - https://github.com/resolume/ffgl Example shader credit in the file source.

freeframemaker's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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