Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- foreach (EffectPass pass in cubeEffect.CurrentTechnique.Passes)
- {
- pass.Begin();
- cubeEffect.Texture = cube.shapeTexture;
- cube.RenderShape(GraphicsDevice);
- pass.End();
- }
- cubeEffect.End();
Advertisement
Add Comment
Please, Sign In to add comment