Jump to content

RenderTexture - ignoring LINEAR scaleMode

Tom Atom

Recommended Posts



 I am totally stuck. I am rendering into RenderTexture and then, I use this texture as sprite and render it on screen. So far all OK.


 When I use CANVAS renderer, edges are nicely filtered and smoothed, but when I use WEBGL renderer, I get jagged edges, like the filtering was set to nearest instead of linear, but I am sure, linear filtering is set (texture scaleMode).




I also noticed, that pixel positions are rounded, but I am not using "roundPixels". And again, pixel positions are rounded only when rendering with WebGL. I debugged rendering code, so I am sure positions are preserved with fractions, but rendered at rounded positions in the end.

Link to comment
Share on other sites


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...