Skip to content

Commit

Permalink
[Penumbra] Enable access to the diffuse and lightmap render targets
Browse files Browse the repository at this point in the history
  • Loading branch information
discosultan committed Feb 12, 2017
1 parent c8e5d28 commit 64c818a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Source/PenumbraComponent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,16 @@ public bool SpriteBatchTransformEnabled
/// </summary>
public ObservableCollection<Hull> Hulls => _engine.Hulls;

/// <summary>
/// Gets the diffuse map render target used by Penumbra.
/// </summary>
public RenderTarget2D DiffuseMap => _engine.Textures.DiffuseMap;

/// <summary>
/// Gets the lightmap render target used by Penumbra.
/// </summary>
public RenderTarget2D LightMap => _engine.Textures.Lightmap;

/// <summary>
/// Explicitly initializes the engine. This should only be called if the
/// component was not added to the game's components list through <c>Components.Add</c>.
Expand Down

0 comments on commit 64c818a

Please sign in to comment.