Field of View / Mask

From TRCCompSci - AQA Computer Science
Revision as of 18:34, 29 March 2024 by Admin (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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
};