Doc > Nodes > COP > Render
Creates a texture from a render
Description
This node can be useful when you want to use what a camera sees as a texture.
Parameters
Name | Type | Description |
---|---|---|
camera | node_path | camera to render from |
resolution | vector2 | render resolution |
useCameraRenderer | boolean | defines if the shader is rendered via the same camera used to render the scene |
render | button | render button |
tencoding | boolean | toggle on to allow updating the texture encoding |
encoding | integer | sets the texture encoding |
tmapping | boolean | toggle on to allow updating the texture mapping |
mapping | integer | sets the texture mapping |
twrap | boolean | toggle on to allow updating the texture wrap |
wrapS | integer | sets the texture wrapS |
wrapT | integer | sets the texture wrapT |
tminFilter | boolean | toggle on to allow updating the texture min filter |
minFilter | integer | sets the texture min filter |
tmagFilter | boolean | toggle on to allow updating the texture mag filter |
magFilter | integer | sets the texture mag filter |
tanisotropy | boolean | toggle on to allow updating the texture anisotropy |
useRendererMaxAnisotropy | boolean | sets the anisotropy from the max value allowed by the renderer |
anisotropy | integer | sets the anisotropy manually |
tflipY | boolean | Toggle on to update the flipY |
flipY | boolean | sets the flipY |
ttransform | boolean | toggle on to update the texture transform |
offset | vector2 | updates the texture offset |
repeat | vector2 | updates the texture repeat |
rotation | float | updates the texture rotation |
center | vector2 | updates the texture center |
tadvanced | boolean | toggle on to display advanced parameters |
tformat | boolean | toggle on to allow overriding the texture format |
format | integer | sets the texture format |
ttype | boolean | toggle on to allow overriding the texture type |
type | integer | sets the texture ty[e] |