Книга: DirectX 8 Programming Tutorial

Steps for 2D in 3D Rendering

Steps for 2D in 3D Rendering

Now, to create 2D graphics is really pretty simple. All we need to do, is the following steps for each frame:

· Setup camera for 3D as usual

· Enable the z-buffer and lighting

· Render 3D objects as usual

· Setup camera for 2D

· Disable the z-buffer and lighting

· Render 2D objects


Генерация: 7.914. Запросов К БД/Cache: 3 / 1
поделиться
Вверх Вниз