Method BlitCubeToOctahedral2DQuad
BlitCubeToOctahedral2DQuad(CommandBuffer, Texture, Vector4, int)
Blit a cube texture into 2d texture as octahedral quad. (projection)
Declaration
public static void BlitCubeToOctahedral2DQuad(CommandBuffer cmd, Texture source, Vector4 scaleBiasRT, int mipLevelTex)
Parameters
Type | Name | Description |
---|---|---|
CommandBuffer | cmd | Command buffer used for rendering. |
Texture | source | Source cube texture. |
Vector4 | scaleBiasRT | Scale and bias for the output texture. |
int | mipLevelTex | Mip level to sample. |