C# Class VoxelTerrain.SkyCube

This object can generate and render sky effect using perlin noise algorithm.
显示文件 Open project: barograf/VoxelTerrain Class Usage Examples

Public Methods

Method Description
GenerateSky ( ) : void

Generates sky textures.

Render ( ) : void

Renders sky cube on the screen.

SkyCube ( Device graphicsDevice, Camera camera ) : SlimDX.Direct3D11

Object's default constructor.

Method Details

GenerateSky() public method

Generates sky textures.
public GenerateSky ( ) : void
return void

Render() public method

Renders sky cube on the screen.
public Render ( ) : void
return void

SkyCube() public method

Object's default constructor.
public SkyCube ( Device graphicsDevice, Camera camera ) : SlimDX.Direct3D11
graphicsDevice Device Virtual adapter used to perform rendering.
camera Camera Instance of a camera object.
return SlimDX.Direct3D11