RenderToTextures_v2 Op

RenderToTextures

There is a newer version of this op!


This version will not receive any updates. It is recommended to use a newer version.

Current version: Ops.Gl.RenderToTextures_v3

render to multiple textures at the same time


see Ops.Gl.ShaderEffects.Render2TexturesSlots to toggle which textures to render to


Full Name
  • Ops.Gl.RenderToTextures_v2
Visibility
  • Core Op - Official cables op
License
  • MIT
Authorgithub


Example Patch Render2Textures

Open In Editor

Youtube Video Tutorial

INPUT PORTS


Render (Trigger)
use viewport size (Number: boolean)
texture width (Number: integer)
texture height (Number: integer)
Pixel Format index (Number: integer)
Filter index (Number: integer)
Wrap index (Number: integer)
MSAA index (Number: integer)
Clear (Number: boolean)
Slots index (Number: integer)
Texture 0 index (Number: integer)
Texture 1 index (Number: integer)
Texture 2 index (Number: integer)
Texture 3 index (Number: integer)
Texture 4 index (Number: integer)
Texture 5 index (Number: integer)
Texture 6 index (Number: integer)
Texture 7 index (Number: integer)

OUTPUT PORTS


Next (Trigger)
Result Texture 0 (Object)
Result Texture 1 (Object)
Result Texture 2 (Object)
Result Texture 3 (Object)
Result Texture 4 (Object)
Result Texture 5 (Object)
Result Texture 6 (Object)
Result Texture 7 (Object)
textureDepth (Object)

Patches using RenderToTextures_v2

  • Examples
  • Public
  • My Patches

Known Issues

requires WebGL2

Changelog


added webgl2 requirementuser avatarpandur - 2019-02-08 07:56
code cleanup - ports , onChangeuser avatarandro - 2019-05-28 15:13
cloned op from Ops.Gl.Render2Texturesuser avatarpandur - 2023-03-28 16:40
renameOps.Patch.PncOFEs.Render2Textures renamed to Ops.Dev.Gl.Render2Textures2user avatarpandur - 2023-03-29 19:22
added core lib: cgl_rendertargetsuser avatarpandur - 2023-04-11 20:00
added core lib: cgl_shadermodifieruser avatarpandur - 2023-04-11 20:01
renameOps.Dev.Gl.Render2Textures2 renamed to Ops.Gl.Render2Textures_v2user avatarpandur - 2023-05-19 16:12
renameOps.Gl.Render2Textures_v2 renamed to Ops.Gl.RenderToTextures_v2user avatarpandur - 2023-09-14 09:24