RodZill4 / material-maker

A procedural textures authoring and 3D model painting tool based on the Godot game engine
MIT License
3.44k stars 218 forks source link

Tonality node with no input generates a very buggy output on Intel integrated graphics #280

Open Arnklit opened 3 years ago

Arnklit commented 3 years ago

Material Maker version: 0.94.Stable

OS/device including version:

Windows 10 64Bit, Intel(R) UHD Graphics 620 - Driver Version: 27.20.100.8885

Issue description:

Tonality node with no input generates a very buggy output on Intel integrated graphics. This is not a big issue as it works fine as soon as an input is set, it just looks bad. SuN3vM0TiD

Steps to reproduce: Add a Tonality node running on Intel integrated graphics.

Arnklit commented 3 years ago

This is just how values outside 0-1 look sometimes on intel graphics. An easy fix would just be to clamp the uv.x used as the default input. I guess we could clamp the output of tonality as well, but I don't know if it's sometimes practical to be able to return values outside 0-1?