diff --git a/GeometricPrimitive.md b/GeometricPrimitive.md index 9796f6f..7853416 100644 --- a/GeometricPrimitive.md +++ b/GeometricPrimitive.md @@ -101,14 +101,20 @@ These geometric primitives are intended for view from the 'outside' for efficien For a right-handed view system: - std::unique_ptr shape( + std::unique_ptr sky( GeometricPrimitive::CreateBox( deviceContext, XMFLOAT3(10,10,10), false, true); + std::unique_ptr sky( + GeometricPrimitive::CreateSphere( deviceContext, 100.f, false, true); + For a left-handed view system: - std::unique_ptr shape( + std::unique_ptr sky( GeometricPrimitive::CreateBox( deviceContext, XMFLOAT3(10,10,10), true, true); + std::unique_ptr sky( + GeometricPrimitive::CreateSphere( deviceContext, 100.f, true, true); + # Alpha blending Alpha blending defaults to using premultiplied alpha. To make use of 'straight' alpha textures, override the blending mode via the optional callback: