Windows 8 and Windows Phone 8 Game Development by Adam Dawes
Author:Adam Dawes [Dawes, Adam]
Language: eng
Format: epub, pdf
Tags: C#, Computers, Programming, Microsoft, Programming Languages
ISBN: 9781430258360
Publisher: Apress
Published: 2013-06-24T04:00:00+00:00
There is another mode that can be set for the depth buffer: read-only mode. In this mode, MonoGame will observe the values in the depth buffer when rendering objects and will use it to prevent objects from being drawn if they are behind existing objects. However, the depth buffer will not be updated in response to rendered objects.
This mode might seem like an unlikely feature to need, but it has various uses. One such use is for drawing particles in a 3-D scene. We’ll discuss particles in more detail in the next chapter, but they can be used for creating effects such as sparks, fire, and smoke. Although it is important that these correctly appear behind objects in the scene, we need to ensure that they don’t obscure one another or else they won’t display correctly.
MonoGame can be set to use a read-only depth buffer by setting the GraphicsDevice.DepthStencilState property to DepthStencilState.DepthRead. Don’t forget to set it back to DepthStencilState.Default once you are finished with this mode.
Download
Windows 8 and Windows Phone 8 Game Development by Adam Dawes.pdf
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(8299)
Test-Driven Development with Java by Alan Mellor(6721)
Data Augmentation with Python by Duc Haba(6635)
Principles of Data Fabric by Sonia Mezzetta(6386)
Learn Blender Simulations the Right Way by Stephen Pearson(6281)
Microservices with Spring Boot 3 and Spring Cloud by Magnus Larsson(6156)
Hadoop in Practice by Alex Holmes(5958)
Jquery UI in Action : Master the concepts Of Jquery UI: A Step By Step Approach by ANMOL GOYAL(5806)
RPA Solution Architect's Handbook by Sachin Sahgal(5552)
Big Data Analysis with Python by Ivan Marin(5363)
The Infinite Retina by Robert Scoble Irena Cronin(5246)
Life 3.0: Being Human in the Age of Artificial Intelligence by Tegmark Max(5147)
Pretrain Vision and Large Language Models in Python by Emily Webber(4327)
Infrastructure as Code for Beginners by Russ McKendrick(4086)
Functional Programming in JavaScript by Mantyla Dan(4038)
The Age of Surveillance Capitalism by Shoshana Zuboff(3950)
WordPress Plugin Development Cookbook by Yannick Lefebvre(3801)
Embracing Microservices Design by Ovais Mehboob Ahmed Khan Nabil Siddiqui and Timothy Oleson(3605)
Applied Machine Learning for Healthcare and Life Sciences Using AWS by Ujjwal Ratan(3576)
