diff --git a/docs/Learning-Environment-Design-Agents.md b/docs/Learning-Environment-Design-Agents.md index f09f46074e..f0bffae693 100644 --- a/docs/Learning-Environment-Design-Agents.md +++ b/docs/Learning-Environment-Design-Agents.md @@ -370,9 +370,6 @@ The steps for enabling stacking depends on how you generate observations: Generally, this should happen in the `CreateSensor()` method of your `SensorComponent`. -Note that stacking currently only supports for vector observations; stacking -for visual observations is not supported. - #### Vector Observation Summary & Best Practices - Vector Observations should include all variables relevant for allowing the @@ -432,6 +429,10 @@ have a unique name so that they can be sorted deterministically (the name must be unique for that Agent, but multiple Agents can have a Sensor Component with the same name). +Visual observations also support stacking, by specifying `Observation Stacks` +to a value greater than 1. The visual observations from the last `stackSize-1` +steps will be stacked on the last dimension (channel dimension). + When using `RenderTexture` visual observations, a handy feature for debugging is adding a `Canvas`, then adding a `Raw Image` with it's texture set to the Agent's `RenderTexture`. This will render the agent observation on the game