Add RenderTexture, Texture, Sprite, Texture2D, Texture2DArray, Texture3D, CustomRenderTexture, Cubemap and CubemapArray nodes
complete
Lyuma
Texture and Sprite variables could be useful. Currently you can use Materials to do stuff with textures / hold references, but this could make it simpler.
I do not expect GetPixels or GetNativeTexturePtr. The most useful thing is the ability to hold variables of texture types. However, read or read/write (for *RenderTexture) access to properties such as width, height, depth etc. could be useful.
Log In
Synergiance
Still missing
CustomRenderTexture
Momo the Monster
complete
Sprite and Cubemap exposed to Udon in VRCSDK3-WORLD-2021.01.19.07.28
T
TCL
in progress
Sprite and Cubemap have been exposed to Udon in the 2021.1.1 open beta.
Μerlin
RenderTexture
, Texture
, Texture2D
, and Texture3D
have been exposed since a few months ago now. We are still missing
Sprite
, Cubemap
, CubemapArray
and Texture2DArray
. Due to how Udon names its types, CubemapArray
and Texture2DArray
would need special handling to prevent naming conflicts with Texture2D[]
and Cubemap[]
, but there shouldn't be any reason that Sprite
and Cubemap
would be difficult to expose.ん
んなあぁ
This is a pretty big blocker for me. I need to be able to read pixel values from textures for some things I'm building that are currently stalled. Being able to ReadPixels so that I can take a RenderTexture from my camera and copy it to a Texture2D would also be pretty useful for me.
y23586
This feature will be quite useful for those who use shaders for special world functions. For example, compute shaders will be able to fire triggers, resulting in the control of non-visual components such as sounds and colliders.
I personally want to use Texture2D.GetPixel to read data from render textures.