Tutorial 4: creating and working with lights

Direct3D lights add more realism to 3D objects. When used, each geometric object in the scene will be illuminated according to the position and type of light used. The sample code in this tutorial introduces the topics of lights and materials. This tutorial contains the following steps to create materials and lights. pace Step 1 - initialize ...

Posted by ineedhelp512 on Sat, 12 Feb 2022 04:27:17 +0100

Introduction to 2D game engine development

Previous section: https://blog.csdn.net/z736248591/article/details/122658701 Build engine framework review In the previous chapter, we created an empty window. In this chapter, we built an engine framework to encapsulate window display and rendering. Frame introduction First, let's introduce the four most important global classes: Directo ...

Posted by danielson2k on Thu, 03 Feb 2022 07:03:49 +0100