You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When configuring textures in a StandardMaterial3D, normal map, ambient occlusion map and height maps are all detected to be used as a roughness map, which is incorrect. The roughness map is not detected as being used as a roughness map.
I haven't checked behavior with ORMMaterial3D, but it's likely affected too.
Steps to reproduce
Ensure .godot/ folder is not present within the project folder, and ensure *.importfiles are not present next to files. This forces 3D detection to happen again, which is important in case you're looking into fixing this.
Open the minimal reproduction project in the editor (.godot/ and *.import files were already removed from it).
Look at textures' import flags by selecting them in the FileSystem dock, then looking at the Import dock.
Some of these issues may have been solved already. For me, the Normal and AO maps do not seem to be detected as Roughness. Normal's roughness setting changes to Disabled. The others remain on Detect.
The height (displacement) map is being detected to depend on the normal map, but the roughness value remains on Detect.
Roughness map also remains as detect even if I re-assign it into the roughness slot. This is probably the main issue here, though interestingly it's not assigning the Normal map into the source normal slot of roughness, even though it did so for displacement.
Godot version
4.0.alpha8
System information
Fedora 36, GeForce GTX 1080 (NVIDIA 510.68.02)
Issue description
When configuring textures in a StandardMaterial3D, normal map, ambient occlusion map and height maps are all detected to be used as a roughness map, which is incorrect. The roughness map is not detected as being used as a roughness map.
I haven't checked behavior with ORMMaterial3D, but it's likely affected too.
Steps to reproduce
.godot/
folder is not present within the project folder, and ensure*.import
files are not present next to files. This forces 3D detection to happen again, which is important in case you're looking into fixing this..godot/
and*.import
files were already removed from it).Minimal reproduction project
test_material_detect_3d.zip
The text was updated successfully, but these errors were encountered: