OpenGL 3D Game Tutorial 27: Skybox

Channel:
Subscribers:
244,000
Published on ● Video Link: https://www.youtube.com/watch?v=_Ix5oN8eC1E



Category:
Tutorial
Duration: 20:47
80,118 views
850


LWJGL tutorial series on how to create a 3D Java game with OpenGL!

Programming a skybox this week using cube map textures!

Download PNGDecoder: http://twl.l33tlabs.org/dist/PNGDecoder.jar or https://drive.google.com/file/d/0B4_SgVGfVtFWMVlXSnkyeXIwdWs/view?usp=sharing&resourcekey=0-m2YXuBFtDqiW9gI7NFhiQA

Downloadable Source Code: https://www.dropbox.com/sh/trn3cugng9ahec1/AACIZHJBAbyegjR9QxtZw10Fa?dl=0

Skybox Textures: https://www.dropbox.com/sh/phslacd8v9i17wb/AABui_-C-yhKvZ1H2wb3NykIa?dl=0

OpenGL Textures Info: https://open.gl/textures

Loads of skyboxes: http://www.custommapmakers.org/skyboxes.php


Common Problems:

-Due to hardware limitations on some computers you may see some visible seams at the edges of the skybox. If this is the case then add these two lines to the end of the loadCubeMap() method, just before returning the texID:
GL11.glTexParameteri(GL13.GL_TEXTURE_CUBE_MAP, GL11.GL_TEXTURE_WRAP_S, GL12.GL_CLAMP_TO_EDGE);
GL11.glTexParameteri(GL13.GL_TEXTURE_CUBE_MAP, GL11.GL_TEXTURE_WRAP_T, GL12.GL_CLAMP_TO_EDGE);


Support the series on Patreon: https://www.patreon.com/thinmatrix

Facebook Page: https://www.facebook.com/thinmatrix
Tumblr: http://thinmatrix.tumblr.com/
Instagram: http://instagram.com/thin_matrix
Twitter: https://twitter.com/ThinMatrix
Check out my game on IndieDB: http://www.indiedb.com/games/equilinox


End of video music- Kai Engel, "Waking Stars":
http://freemusicarchive.org/music/Kai_Engel/Evening_Colors/01_-_Waking_Stars







Tags:
opengl tutorial
lwjgl tutorial
java 3d game tutorial
3d game tutorial
opengl 3+
opengl 3d game
glsl tutorial
shaders tutorial
opengl 3D tutorial
3d game
java game
lwjgl
opengl
java
opengl beginners tutorial
game development tutorial
3d game development
glsl
game engine
java game tutorial
java 3d
Tutorial
3d rpg tutorial
skybox
cube map
opengl cube map
opengl skybox
3d skybox
sky
lwjgl skybox
skybox tutorial
cube map texture
cubemap