cleanup, remove translate tags, remove warning that doesn't matter
Line 1:
Line 1:
<languages></languages>
<translate>
<!--T:1-->
{{Infobox Component
{{Infobox Component
|Image=RenderTextureProviderComponent.png
|Image=RenderTextureProviderComponent.png
|Name=Render Texture Provider
|Name=Render Texture Provider
}}
}}
The '''RenderTextureProvider''' component is used as a target for rendering [[Component:Camera]] or [[Component:CameraPortal]] data onto. This component can be used as a texture for any material.
The '''RenderTextureProvider''' component is used as a target for rendering [[Component:Camera]] or [[Component:CameraPortal]] data onto. This component can be used as a texture for any material.
<!--T:2-->
== Fields ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|Size|Int2|The size the camera renders in <code>width</code> and <code>height</code>
|Size|Int2|The size the camera renders in <code>width</code> and <code>height</code>
|Depth|Int|Precision, in bits, of the depth buffer used for rendering. Possibly values are 0, 16, 24 and 32.
|Depth|Int|Precision, in bits, of the depth buffer used for rendering. Possibly values are 0, 16, 24 and 32.
{{Note|'''RenderTextureProvider''' will not wrap with a Depth value above 0, be sure to set it to 0 if you want to create repeating patterns! see: [https://github.com/Yellow-Dog-Man/Resonite-Issues/issues/1265#issuecomment-3125085062 This comment on issue #1265 for clarification.]|warning}}
{{Note|'''RenderTextureProvider''' will not wrap with a Depth value above 0, be sure to set it to 0 if you want to create repeating patterns! see: [https://github.com/Yellow-Dog-Man/Resonite-Issues/issues/1265#issuecomment-3125085062 This comment on issue #1265 for clarification.]|warning}}
{{Note|'''RenderTextureProvider''' will flash its contents to the screen whenever its values are changed (even the persistent tag!), be sure to set the Depth value to something below 0 if you plan to change any fields during the items use to not flash desktop users! see: [https://github.com/Yellow-Dog-Man/Resonite-Issues/issues/964#issuecomment-3182561133 This comment on issue #964 for clarification.]|warning}}
Attach to a slot and use as a render texture for any component that accepts it. The texture color data will now exist. Insert into any [[material]] to view.
Attach to a slot and use as a render texture for any component that accepts it. The texture color data will now exist. Insert into any [[material]] to view.
== Examples ==
== Examples ==
{{stub}}
{{stub}}
Needs a mirror and a camera example.
<!--T:5-->
== See also ==
== Related Components ==
* [[Component:Camera]] - it requires destination to be this component often
* [[Component:Camera]]
* [[Component:CameraPortal]] - it requires destination to be this component often
Render Texture Provider component as seen in the Scene Inspector
The RenderTextureProvider component is used as a target for rendering Component:Camera or Component:CameraPortal data onto. This component can be used as a texture for any material.
Attach to a slot and use as a render texture for any component that accepts it. The texture color data will now exist. Insert into any material to view.
Examples
This article or section is a Stub. You can help the Resonite Wiki by expanding it.