Skip to content

A 3D environment making the use of lights, fog and obj models with textures.

Notifications You must be signed in to change notification settings

trekhopton/OpenGL_3D_Environment

Repository files navigation

OpenGL_3D_Environment

Textures can be png images with transparency, one of the pine tree models shows this. The scene includes multiple blinn phong lights:

Direction Light (lighting the whole scene) Point Light (lighting the back of the house)

The scene also has fog or atmospheric perspective. Things appear whiter the further away from the camera they are.

The user controls are as follows:

Esc: exits the window. Up, Down, Left, Right: moves the current camera's position. Cursor: controls direction of the current camera. Right mouse up/down Zooms in/out. Key C: Switches to different camera. Key S: Switches shaders. Key D: while using the debug shader, cycles through debug modes.

screenshot

About

A 3D environment making the use of lights, fog and obj models with textures.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published