new EnvironmentMapPass(renderTarget=opt)
environment map pre pass.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
renderTarget= |
zen3d.RenderTargetCube |
<optional> |
The environment render is done to the renderTarget (if specified). |
Methods
render(glCore, scene)
Render environment map.
Parameters:
Name | Type | Description |
---|---|---|
glCore |
zen3d.WebGLCore | |
scene |
zen3d.Scene |