Enable repeat texture in Visual Shader
Asked Answered
H

2

0

Hi Everyone
(first post here... a little bit excited...!)
I'm playing with visual shader and I can't figure out how to enable "repeat_enable" for a sampler2D.
In the properties of the colorRect that contains the VisualShader, the Texture/Repeat property is enable, but does not seem to be effective.
Making a test with a gdshader script with the "repeat_enable" hint, and it works as expected.
Am I missing an hidden property ?

Huskey answered 15/3, 2024 at 16:28 Comment(0)
G
0

Huskey Create a Texture2DParameter node and connect it to Texture2D's Sampler2D input. The Texture2DParameter has the repeat setting, among other things.

Genisia answered 15/3, 2024 at 16:57 Comment(0)
H
0

THANK YOU !!!!!

Huskey answered 15/3, 2024 at 17:17 Comment(0)

© 2022 - 2025 — McMap. All rights reserved.