mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
15603ca887
Co-authored-by: Clay John <claynjohn@gmail.com>
14 lines
1.0 KiB
XML
14 lines
1.0 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="Cubemap" inherits="ImageTextureLayered" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
|
<brief_description>
|
|
6-sided texture typically used in 3D rendering.
|
|
</brief_description>
|
|
<description>
|
|
A cubemap is made of 6 textures organized in layers. They are typically used for faking reflections (see [ReflectionProbe]) 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 in 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 cubemap to an equirectangular sky map.
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
</class>
|