Open
Description
Tested versions
- Reproducible: v4.4.1.stable.mono.official
System information
Godot v4.4.1.stable.mono - Windows 10 (build 19045) - Multi-window, 2 monitors - OpenGL 3 (Compatibility) - NVIDIA GeForce GTX 1650 (NVIDIA; 32.0.15.7628) - Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz (8 threads)
Issue description
The variables UV.x and UV.y in the shaderScripting language should range from 0 to 1.
But when the node uses a PlaceholderTexture2D, UV.x & UV.y go upto 0.25 instead.
Although that max value changes proportional with the Sprite2d.Texture.Size.
Steps to reproduce
- Create a sprite2d
- Choose "PlaceHolderTexture2D" as Texture
- Add a shader that uses UV
Minimal reproduction project (MRP)
Weird... In the new project the placeholderTexture isn't blank (maybe I overlooked it befor)
Doesn't matter, the bug is superficial anyway