Skip to content

Latest commit

 

History

35 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SPG Project

This project is for my university course "Shader Programming"

How to start

Open spg.exe in root directory of project

The builded .exe in Release/Debug folder won't find the needed resoures

How to compile

Open Solution and adjust Additional Include & Linker Directories

Default:

  • Include: D:/OpenGL/include
  • Linker: D:/OpenGL/lib-vs2019

Dependencies

  • GLFW: 3.3.2
  • GLM: 0.9.9.7
  • GLAD:
    • Language: C/C++
    • Specification: OpenGL
    • API:
      • gl: Version 4.6
      • Rest: none
    • Profile: Core
  • Freetype: 2.10.4

Newer or older versions might work -> Not tested

Controls

General

Key Function
ESC Close Window
W Move forward
A Move left
S Move backward
D Move right
SPACE Move up
LEFT_CTRL Move down
H Turn off/on Wireframe mode
MOUSE Look around

Parallax Mapping

Key Function
1 Decrease Parallax Scale
2 Increase Parallax Scale
Decrease Steps
Increase Steps
Increase Refinement Steps
Decrease Refinement Steps

Hold L_SHIFT while Increasing/Decreasing steps for faster changes

Particle System

Key Function
R Shot ray cast
T Increase Update Time
G Decrease Update Time

Tessellation

Key Function
U Increase Tessellation factor
J Decrease Tessellation factor

Dolly Camera

Key Function
NUMPAD + Increase camera speed
NUMPAD - Decrease camera speed
E Toggle Editor / Cinema mode
BACKSPACE Delete all points in dolly list
ENTER Add current position & rotation to dolly list

About

Project for the University Course "Shader Programming"

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages