godotengine / godot-proposals

Godot Improvement Proposals (GIPs)
MIT License
1.16k stars 97 forks source link

Add rotation of UVs to StandardMaterial3D #1230

Closed jasperbrooks79 closed 1 year ago

jasperbrooks79 commented 4 years ago

Describe the project you are working on: A Tomb Raider project . .

Describe the problem or limitation you are having in your project: It's a cool feature, in Blender, if rotate a tileable texture, random degrees, the sort of tiling effect, of similar textures disappear, for a lot of common surfaces ( grass, gravel, many more ) . . It would be nice if one could have a setting, to rotate the texture UV 90 degrees, at least, as this makes tiling much less noticable, or even 45 degrees . . .

2020-07-20 1527

Blender Guru made a video about it, I've been trying it, by rotating planes 90 degrees, and it really looks a lot better, but one needs to be able to rotate UV's 45 degrees, to almost remove it, completely, 95 % gone . .

2020-07-20 1528

Anyway, it makes 3D games look a lot better, I was hoping it could be in Godot 4.0, so we can't just offset, or scale UV1, UV2, but either rotate them by a random number, or hopefully 45 degrees, 90 degree rotation also looks a lot better, 50 - 60 % of tiling goes away . .

Describe the feature / enhancement and how it helps to overcome the problem or limitation:

Tiling textures tends to look very repeating, in the distance, having this feature ( 90 degree rotation is good, 45 degree angles are almost perfect, I guess 30 degrees would basically be enough, or a random 360 degree number, or setting ), any of those things would make Godot 3D worlds look a lot better, immediately, please consider . . .

Describe how your proposal will work, with code, pseudocode, mockups, and/or diagrams: The pictures above show it pretty well, the amazing effect of being able to rotate UV's, like we can scale or, offset them, atm . . .

If this enhancement will not be used often, can it be worked around with a few lines of script?: I have got no idea, I'm just wondering why we can't rotate UV's, since we scale or, offset them, was hoping it might be a minor thing, to add to the engine, the effect is quite amazing, as can be seen above, 45 degree rotation values basically are enough, 30 degree, ie 30, 60, 90, 120, 150 so, on would probably be all one needs . .

Is there a reason why this should be core and not an add-on in the asset library?:

Well, we can already scale, and offset UV's, seems like rotating them is the missing bit . .

Thx <3