Search Issue Tracker

Feature Request

Votes

0

Found in

2020.3.46f1

2021.3.21f1

2022.2.12f1

2023.1.0b9

2023.2.0a7

2023.3.0a3

6000.0.0b11

Issue ID

UUM-31304

Regression

No

Texelsize node does not return the correct value when you reduce the texture quality in quality settings.

--

-

The shadergraph node "texelsize" does not return the correct value when you reduce the texture quality in quality settings. I discovered this while working with the surface gradient framework, where stepsize become mismatched once the texture resolution is reduced in project quality settings (Master texture limit). 

_Documentation has this to say:_
_"The width and height of the texture object report the original, non-limited sizes. You may have to take this into account if you perform special sampling or processing with textures subject to the master limit quality setting, and you use masterTextureLimit > 1."_

We have no way that i know of to access the master texture limit in shadergraph so it is hard for users to compensate (and somewhat obscure to discover that you need to do so)

  1. Resolution Note:

    We need to provide a generic way of getting the texel size that takes into account the project settings.

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.