LWJGL tutorial series on how to create a 3D Java game with OpenGL!
The final particle effects tutorial, this week about instanced rendering!
storeMatrixData() Code:
vboData[pointer++] = matrix.m00;
vboData[pointer++] = matrix.m01;
vboData[pointer++] = matrix.m02;
vboData[pointer++] = matrix.m03;
vboData[pointer++] = matrix.m10;
vboData[pointer++] = matrix.m11;
vboData[pointer++] = matrix.m12;
vboData[pointer++] = matrix.m13;
vboData[pointer++] = matrix.m20;
vboData[pointer++] = matrix.m21;
vboData[pointer++] = matrix.m22;
vboData[pointer++] = matrix.m23;
vboData[pointer++] = matrix.m30;
vboData[pointer++] = matrix.m31;
vboData[pointer++] = matrix.m32;
vboData[pointer++] = matrix.m33;
Support the series on Patreon: [ Ссылка ]
Upcoming tutorials:
- Random Terrain Generation
- Shadows
- Post processing
- Geometry shader
Future Tutorial Series:
- Game Audio
- Multiplayer
- Advanced Game Dev Concepts
- OpenGL Optimizing Techniques
Previous tutorial topics:
- Display
- VAOs and VBOs - Rendering a quad
- Rendering using glDrawElements
- Shader introduction
- Coloring using shaders
- Texturing
- Matrices, moving and rotating
- Loading 3D OBJ models
- Lighting I
- Lighting II
- Optimizations
- Transparency
- Fog
- Multitexturing
- Player Movement
- 3rd Person Camera
- Mipmapping
- Terrain Generation
- Terrain Collision Detection
- Texture Atlases
- GUIs/HUDs
- Multiple Light sources
- Point light attenuation
- Skybox
- Day/Night
- 3D Mouse Picking
- Water
- Cel Shading
- Normal Mapping
- Rendering Text
- Signed Distance Field Fonts
- Particle Effects
Tumblr: [ Ссылка ]
Facebook Page: [ Ссылка ]
Instagram: [ Ссылка ]
Twitter: [ Ссылка ]
Check out my game on IndieDB: [ Ссылка ]
Contact me: thinmatrix@gmail.com
End of video music- Kai Engel, "Waking Stars":
[ Ссылка ]
OpenGL 3D Game Tutorial 36: Instanced Rendering
Теги
opengl tutoriallwjgl tutorialjava 3d game tutorial3d game tutorialopengl 3+opengl 3d gameglsl tutorialshaders tutorialopengl 3D tutorial3d gamejava gamelwjglopengljavaopengl beginners tutorialgame development tutorial3d game developmentglslgame enginejava game tutorialjava 3dTutorial3d rpg tutorialtextparticlesparticle effectsparticle systemsopengl particle effectsparticle effect tutorialinstanced renderinginstancingvao