I hope it works for you, it's a private repository.
Edit: Repository is now public.
Here, I fixed it: bitbucket.org/40163650/postprocessingprogram/downloads/20170130-BetaV2.rar
I hope it works for you, it's a private repository. Edit: Repository is now public.
0 Comments
It's pretty much done. I'm releasing it as a beta as I could add more features in the future but it's currently at a state where it's presentable and usable. If you want to try it yourself here's a link to the Windows download: bitbucket.org/40163650/postprocessingprogram/downloads/20170130-Beta.rar If you're not on Windows, here's a link to the source bitbucket.org/40163650/postprocessingprogram/get/b734deee16e8.zip, it may be difficult to compile but the libraries I used are as follows: GLFW, GLEW, OpenGL (obviously) and SOIL. If you download both it comes with a lib file, that may contain what you need.
Once you've got yourself set up you'll need to edit the config file to change the paths to your shader and images. The vertex shader is called "joey.vert" in honour of the person whose tutorials I followed (https://learnopengl.com/) and must not be moved from the shaders folder. The fragment shader is the one you'll be customising, you have access to the texcoords and sampler uniforms of your images that were specified in the config file. "color" is the variable that is rendered to the screen and is a vec4. I have just remembered I need to pass in the window dimensions as uniforms. This means things like sobel won't work unless you know the size of your window / image. Lastly it uses OpenGL 3.3 so make sure your graphics drivers are compatible. Right... I'm going to make that change... The program I am working on is almost complete. 32 Images 1 Shader. Automatic reloading.
Trouble is, I need to get the window to be the same size as the image. When I've got some free time I'm going to start work on a new project to do with this whole post-processing thing.
I intend to create a program. It allows the user to input a post-processing shader file and at least one image. It then renders the image with the shader applied to it. Maybe if there's more than one image they could be blended. I also intend for it to do hot reloading so it doesn't have to be closed if the shader is changed. |
AuthorHi there, the name's Matthew Jenkinson and I'm currently working at Firesprite. In my spare time I work on programming projects like you see here. Archives
March 2021
CategoriesLinks to each effect in order:
|