Skip to content

eggwhat/vulkan_cg_uni

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Small engine in Vulkan API

Table of contents

General info

This project is simple engine featuring:

  • Phong-Blinn lighting model
  • Flat, Gouraud, Phong shading methods
  • Fog and day/night effect
  • Static, following object, third-person and unlocked camera modes
  • Reflectors attached to a moving object with changeable light direction.

Technologies

Project is created with:

  • C++ 17
  • Vulkan 1.3
  • CMake
  • GLFW, GLM libraries

Setup

To run this project:

  • Change paths in .env.cmake file to match your directories
  • Open solution located in build folder
  • Build shaders project
  • Set VcuEngine project as the startup project
  • Build and run in Release mode

Controls

To switch between features:

  • Use space to change shading method
  • Use c to change camera mode
  • Use f to enable/disable fog effect
  • Use n to switch between day/night mode
  • Use [ to move reflector direction forward
  • Use ] to move reflector direction backward

For unlocked camera mode:

  • Use w|s|a|d to move forward/backward/left/right
  • Use q|e to move down/up
  • Use ||| to look left/up/right/down

About

Simple engine created with Vulkan API

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published