filmov
tv
OpenGL 3D Game Tutorial 14: Simple Terrain
Показать описание
LWJGL tutorial series on how to create a 3D Java game with OpenGL!
This week we program a terrain renderer and generate a simple flat terrain!
Full code download (try doing the tutorial first though!):
Common Problems:
-If you can't see the terrain make sure your camera is in the right position! It needs to have a y position of above 0, and if you still can't see the terrain then try turning the camera around by setting the "yaw" to 180.
-Make sure that you're starting and stopping the *terrain shader* (and NOT the static shader program) before and after rendering the terrain in the MasterRenderer's render() method.
-If the texture on the terrain only looks good in one corner then try adding these 2 lines into your loadTexture method before returning the texture's ID:
End of video music- Kai Engel, "Waking Stars":
This week we program a terrain renderer and generate a simple flat terrain!
Full code download (try doing the tutorial first though!):
Common Problems:
-If you can't see the terrain make sure your camera is in the right position! It needs to have a y position of above 0, and if you still can't see the terrain then try turning the camera around by setting the "yaw" to 180.
-Make sure that you're starting and stopping the *terrain shader* (and NOT the static shader program) before and after rendering the terrain in the MasterRenderer's render() method.
-If the texture on the terrain only looks good in one corner then try adding these 2 lines into your loadTexture method before returning the texture's ID:
End of video music- Kai Engel, "Waking Stars":
OpenGL 3D Game Tutorial 14: Simple Terrain
OpenGL 3D Game Tutorial 13: Optimizing
OpenGL 3D Game Tutorial 16: Fog
OpenGL/C++ 3D Tutorial 14 - Textures 01
OpenGL 3D Game Tutorial 31: Normal Mapping
OpenGL 3D Game Tutorial 32: Font Rendering
OpenGL 3D Game Tutorial 28: Day/Night
3D Game Engine - Point Light #14 LWJGL / OpenGL
OpenGL 3D Game Tutorial 17: Multitexturing
OpenGL 3D Game Tutorial 23: Texture Atlases
OpenGL 3D Game Tutorial 37: Procedural Terrain
OpenGL 3D Game Tutorial 15: Transparency
OpenGL 3D Game Tutorial 2: VAOs and VBOs
OpenGL 3D Game Tutorial 8: Model, View & Projection Matrices
OpenGL 3D Game Tutorial 20: Mipmapping
OpenGL 3D Game Tutorial 38: Shadow Mapping (1/2)
OpenGL 3D Game Tutorial 25: Multiple Lights
OpenGL 3D Game Tutorial 10: Loading 3D Models
OpenGL 3D Game Tutorial 29: Mouse Picking
OpenGL 3D Game Tutorial 19: 3rd Person Camera
[OpenGL 3D Reupload] Simple Terrain
OpenGL 3D Game Tutorial 30: Cel Shading
A Sneaky Trick Most FPS Games Use
OpenGL 3D Game Tutorial 26: Point Lights
Комментарии