Search Issue Tracker

Fixed in 14.0.0

Votes

0

Found in [Package]

13.1.0

Issue ID

1378415

Regression

No

Texel Size Node doesn't return texel size but instead returns the size of the texture

Package: Shader Graph

-

How to reproduce:
1. Open the user attached project
2. Make sure the Scene "Test" is opened (Assets)
2. Enter Play Mode

Expected result: Texel size (0.01562) is displayed in the Game View
Actual result: Texture size (64.0000) is displayed in the Game View

Reproducible with: 10.7.0 (2020.3.23f1), 12.1.1 (2021.2.3f1), 13.1.0 (2022.1.0a15)
Can't test with: 7.7.1 (2019.4.32f1) - console errors, 10.6.0 and below (2020.3.21f1) - console errors

  1. Resolution Note (fix version 14.0.0):

    Renamed the Texel Size node to Texture Size and also added 2 new ports to it that also output the texel size - so now the node outputs both the width and height of the texture in pixels as well as the width and height of the texels.

    Fixed with: 2022.2.0a3

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.