From 962d4d835b218177d4181b188b75a0b04a15f4c4 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Mon, 20 Apr 2020 19:40:54 +0200 Subject: [PATCH] Document the Cubemap class The documentation was partly ported over from Godot 3.2. --- doc/classes/Cubemap.xml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/classes/Cubemap.xml b/doc/classes/Cubemap.xml index 16431c65c9f..30f012bdcf0 100644 --- a/doc/classes/Cubemap.xml +++ b/doc/classes/Cubemap.xml @@ -1,8 +1,12 @@ + 6-sided texture typically used in 3D rendering. + A cubemap is a 6-sided texture typically used for faking reflections in 3D rendering. It can be used to make an object look as if it's reflecting its surroundings. This usually delivers much better performance than other reflection methods. + This resource is typically used as a uniform in custom shaders. Few core Godot methods make use of Cubemap resources. + [b]Note:[/b] Godot doesn't support using cubemaps as a [PanoramaSkyMaterial]. You can use [url=https://danilw.github.io/GLSL-howto/cubemap_to_panorama_js/cubemap_to_panorama.html]this tool[/url] to convert a cube map to an equirectangular sky map.