i don't know, the name suggests something different. maybe size of a texel? like here maybe? link: "it is the size of a texel of the texture in question, in other words, if it's a 1k x 1k texture, both x and y will be 1.0/1024.0 "
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
Comments
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Texture size
{TextureName}_TexelSize - a float4 property contains texture size information:
x contains 1.0/width
y contains 1.0/height
z contains width
w contains height
In gideros it returns z and w so width and height I believe!? So the docs should be ok?!
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Likes: MoKaLux
Can somebody please delete this page:
https://wiki.giderosmobile.com/index.php/RenderTarget:getTexelSize
Thank you.
Likes: talis
Likes: MoKaLux
https://deluxepixel.com