Skip to content

AlexandreLamure/FX-Factory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FX-Factory

The goal of this project is to allow the user to toggle many effects on a 3D scene, and to combine them to create new interesting effects.

Build and run

# Build
mkdir cmake-build && cd cmake-build
cmake ../ -DCMAKE_BUILD_TYPE=Release
cmake --build . --config Release -j

# Run
./fx_factory

Structure

  • lib/: external libraries
  • resources/: OBJ models
  • shaders/: GLSL source code
  • src/:C++ source code and headers

Libraries used

Results

Youtube video: https://youtu.be/0EzgnH4tP0o

Some examples:

Commands

While the program is running, you can toggle the effects with your keyboard. This FX management will be simplified in the future with a cool interface.

General commands

  • Z, Q, S, D: moving
  • Space/Ctrl: going up/down
  • 1: Select the main object
  • 2: Select the background object
  • Backspace: Reset effects

Vertex effects:

  • 0: Texture shifting
  • 9: Water style normals

Fragment effects:

  • Y: Texture moving
  • U: Texture moving in a glitchy way
  • I: Colorize
  • O: RGB shifting
  • P: Edge colorizing
  • G: Toonify
  • O: Horrorify
  • J: Pixelize

Screen effects

The next effects are applied on the screen directly (using FBOs), not on the 3D models.

  • C: RGB Shifting
  • V: Patch glitch
  • N: Old video effect
  • M: Pixelize

Advanced effects

  • , : Switch textures
  • , : Combine effects

About

EPITA courses: Glitch effects in OpenGL

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published