vscode-glsl-canvas icon indicating copy to clipboard operation
vscode-glsl-canvas copied to clipboard

New feature contain Min & Max of a value instead of 0 to 1

Open ammein opened this issue 3 years ago • 1 comments

Would it be nice if we could have a feature to set minimum & maximum value of uniforms like this?

{
    "glsl-canvas.uniforms": {
        "lineColor": {
            "value": [
                1.0,
                1.0,
                1.0
            ],
            "max": 200,
            "min": 0
        }
    }
}

The code that I made can be adjustable to more appropriate flows. It is a simple hack that I made but able to implement the feature.

ammein avatar Oct 25 '22 15:10 ammein

Yes, that would be an amazing feature. Any chance you could accept the PR @actarian ? :pray:

chrisjansky avatar Jan 27 '25 13:01 chrisjansky

@actarian @jaredly @jonathansty @leocb Can anyone please weigh in if this useful feature could be merged in? Thanks.

chrisjansky avatar Apr 03 '25 12:04 chrisjansky