Guest User

Untitled

a guest
Jun 9th, 2012
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. foreach (EffectPass pass in cubeEffect.CurrentTechnique.Passes)
  2. {
  3. pass.Begin();
  4. cubeEffect.Texture = cube.shapeTexture;
  5. cube.RenderShape(GraphicsDevice);
  6. pass.End();
  7. }
  8. cubeEffect.End();
Advertisement
Add Comment
Please, Sign In to add comment