# Visual shader varrying getter distortion

**URL:** <https://forum.godotengine.org/t/visual-shader-varrying-getter-distortion/148018>\
**Category:** Shaders\
**Tags:** 3d, visual-shader, godot-4\
**Created:** [December 2, 2026, 11:35pm UTC](https://forum.godotengine.org/t/visual-shader-varrying-getter-distortion/148018 "2026-12-02T23:35:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fullmetal\_Phys](https://forum.godotengine.org/letter_avatar_proxy/v4/letter/f/c89c15/32.png) [@Fullmetal\_Phys](https://forum.godotengine.org/u/Fullmetal_Phys)\
**Post date:** [December 2, 2026, 11:35pm UTC](https://forum.godotengine.org/t/visual-shader-varrying-getter-distortion/148018/1 "2026-12-02T23:35:50Z")

</div>

### Godot Version

4.5.2

### Question

Is the varying getter/setter supposed to distort data as it’s passed from vertex to fragment? I’ve tested the exact same set up of nodes in the two different tabs and they result in completely different renders.

 ![image](https://forum.godotengine.org/uploads/default/original/3X/6/d/6d24fab16aa1f6d14ffca487bf73b8b3135db9f4.png)

 ![image](https://forum.godotengine.org/uploads/default/original/3X/0/2/028fadd7e1586c8949c9b6223ed10b7a8f898c6c.png)

 ![image](https://forum.godotengine.org/uploads/default/original/3X/0/5/05d29b450ce0bfe294598e8327b9108bb37de765.png)

I was using the getters/setter to separate out my nodes into smaller manageable groups like I do in blender. But it seems like that won’t work here since the textures getting distorted, this group of nodes gets reused quite a bit

---

<div class="post-metadata">

**Author:** ![normalized](https://forum.godotengine.org/user_avatar/forum.godotengine.org/normalized/32/58558_2.png) [@normalized](https://forum.godotengine.org/u/normalized)\
**Post date:** [December 2, 2026, 11:45pm UTC](https://forum.godotengine.org/t/visual-shader-varrying-getter-distortion/148018/2 "2026-12-02T23:45:23Z")

</div>

Your shader graph screenshots are too tiny to read.  
Varyings are interpolated between triangle vertices. That’s kinda their main purpose. You can use `flat` qualifier to disable interpolation, but afaik this can only be used in a code shader.

Also, not sure what you mean by getter/setter. Varyings are typically set in the vertex function and get in the fragment function, and as said, that value gotten in the fragment function will be interpolated.
