How do I add a cube map using the pc.Asset API

As far as I know, CubeMap needs a prefiltered DDS file.
The DDS file can be generated by PlayCanvas Editor.
The following procedure will help you to generate a DDS file.

However, now there is a problem that CubeMap is displayed in low resolution even if you set 6-sided texture with pc.Asset API.

1 Like