Attention: Here be dragons (unstable version)
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Redot.
Checking the stable version of the documentation...
WorldScape3DTextureAsset
Inherits: WorldScape3DAssetResource < Resource < RefCounted < Object
Description
A set of texture files and settings that gets added to a WorldScape3DAssets resource. Textures must be prepared.
Properties
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
Methods
void |
clear() |
Signals
file_changed() 🔗
Emitted when albedo_texture or normal_texture are changed.
id_changed(type: int, old_id: int, new_id: int) 🔗
Emitted when id is changed.
setting_changed() 🔗
Emitted when any setting is changed, other than id, albedo_texture, or normal_texture.
Property Descriptions
Color albedo_color = Color(1, 1, 1, 1) 🔗
This color is multiplied by the albedo texture in the shader.
The texture file with albedo on RGB and height on A.
The shader generates AO based on the height texture, based on this strength value.
float detiling_rotation = 0.0 🔗
The shader rotates UV lookups in a detiling pattern based on this value.
The shader laterally shifts UV lookups in a detiling pattern based on this value.
The user settable ID of the texture, between 0 and 31. You can change this to reorder textures in the list, however it won't change the ID painted on the terrain.
A user specified name for this texture set.
Increases or decreases the strength of the normal texture.
The texture file with normal on RGB and roughness on A.
Increases or decreases the roughness texture values.
The scale of the textures.
Method Descriptions
void clear() 🔗
Clears the texture files and settings.