TextureScale

ZGE Source Code discussion. Ask questions, present your changes, propose patches etc.

Moderator: Moderators

Post Reply

What to do you guys think?

Good idea, I don't mind the backward incompatibility.
2
100%
OK idea, but use a new property for full backwards compatibility.
0
No votes
Bad idea, keep this useless feature out of the public build.
0
No votes
 
Total votes: 2

User avatar
Kjell
Posts: 1911
Joined: Sat Feb 23, 2008 11:15 pm

TextureScale

Post by Kjell »

Hello,

I've changed my Material component's TextureScale property to a TZVector3f ( TZVector2f would be nice still 8) ) in order to scale Textures over each axis individually. This does break backward compatibility somewhat as values entered directly in the Material component of current projects will be lost. ZExpressions accessing the TextureScale property work as if nothing has changed though.

A alternative approach would be to add a additional CustomTextureScale property of which the values are used as soon as they are not 0 ..

What do you guys think?

K
Attachments
Repeat.jpg
Repeat.jpg (78.13 KiB) Viewed 15452 times
Post Reply