Skip to content

Renders the output of a GLSL fragment shader as a PNG image

Notifications You must be signed in to change notification settings

samfromcadott/glsl2png

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GLSL 2 PNG

A command line program that renders the output of a GLSL fragment shader as a PNG image. This is a proof of concept for making a program that generates PBR textures using GLSL.

Usage

glsl2png [GLSL source file] [PNG output file] [size]

Requirements

  • lodepng
  • glad
  • GLFW
  • KHR

Building

  1. Place the required libraries in include and lib and put glad.c and lodepng.c in src
  2. Run make

About

Renders the output of a GLSL fragment shader as a PNG image

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published