nik-grv / basic-opengl-shader

A coursework project done in university that renders a basic terrain with water reflection

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

basic-opengl-shader

A coursework project done in university that renders a basic terrain with water reflection using OpenGL. Shader can draw triangle normals or interpolate between normals for a smoother look by changing the gNormals value to use tessNormals[i] and vice versa.

Known issues: Water reflection does not render reflected skybox

tes1 using gNormals = getNormals(); in the calcNormals shader

tes2 using gNormals = tessNormals[i]; in the calcNormals shader

About

A coursework project done in university that renders a basic terrain with water reflection


Languages

Language:C++ 64.4%Language:C 34.4%Language:GLSL 0.6%Language:Objective-C 0.5%Language:CMake 0.1%