Difference between revisions of "Field of View / Mask"

From TRCCompSci - AQA Computer Science
Jump to: navigation, search
(Created page with "=Stage 1= You will need to find your 'graphics' or '_graphics' variable. You will need to add the following parameter: <syntaxhighlight lang=csharp> graphics = new GraphicsDev...")
(No difference)

Revision as of 18:34, 29 March 2024

Stage 1

You will need to find your 'graphics' or '_graphics' variable. You will need to add the following parameter:

graphics = new GraphicsDeviceManager(this) {
    PreferredDepthStencilFormat = DepthFormat.Depth24Stencil8
};