12.07.2015 Views

Mali GPU Shader Development Studio User Guide - ARM ...

Mali GPU Shader Development Studio User Guide - ARM ...

Mali GPU Shader Development Studio User Guide - ARM ...

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

The <strong>Shader</strong> <strong>Development</strong> <strong>Studio</strong>To render using a different geometry, such as a torus:1. Click on the <strong>Shader</strong> Control view.The <strong>Shader</strong> Control view is displayed. See Figure 3-17:Figure 3-17 <strong>Shader</strong> Control viewNoteIf necessary, resize the <strong>Shader</strong> Control view to display the Scene Control group box.2. Select TORUS from the Geometry drop-down list box in the Scene Control box.The <strong>Shader</strong> Preview window is updated to show a torus with the shader effect renderedon its surface. See Figure 3-18:Figure 3-18 Torus geometryThe torus is a three-dimensional geometry, but it looks two-dimensional, see Figure 3-18.This is because the simple shader effect does not perform any lighting calculations, so noshadows are present to give depth cues.In the next section, an advanced shader example is used that implements lightingcalculations and shows the torus is a three-dimensional geometry.DUI0504C Copyright © 2009-2011 <strong>ARM</strong>. All rights reserved. 3-13ID011412Non-Confidential - Beta

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!