Yes/No/How?
Hi newbprofi -
Yes, but the texture must be scaled through the Material using the texture coordinate while the mesh would be scaled through the scale widget in the viewport. You could set up a blueprint to handle this for you and, as an added bonus, could be used to change the scale and tile the texture dynamically at runtime. Here is a basic setup to get you started:
You can make the material as complicated as you would like, but I chose to do a simple one with brick to highlight the texture tiling while scaling the cube shape.
Thank You -
Eric Ketchum
very thanx
Hmm this seems to work for the X and Y fine but not Z. I can’t just modify the connections between break vector Y/Z and the scalar.
Hey everydaypoche -
Good Catch! My original setup was only intended for even XYZ scaling. Here is a setup which will work for uneven scaling. Notice I had to add in some Bool Variables.
Eric,
Can you update the XYZ scaling for 4.11? Some things are just not jiving between the version you used for this and the current version.
I was trying to duplicate this and very new to blueprints, so started with the more simple one for X & Y. Here’s what I was able to get accomplished. Nothing else seems to be meshing right. Notes in image.
Here’s the relevant portion of the Material.
Ideally, I’d like to get X,Y and Z working, but for learning purposes, I’d be happy to start with just X and Y.
Hate to beat the dead horse here Eric, but I too am having issues and a more detailed, albeit brief explanation of what you are doing would be great. You are the only person (that I have located anyway) who has set up scaling on textures to work with x, y and also z.
This would be the difference in me having 1,000+ objects per map to around 50-100 so I would love to know how you did it.
I have set up a blueprint class → Actor with my blank, flat edged building block contained within, not sure if this is correct. Within the functions tab I have all your code in the second post and I am fairly confident I haven’t missed anything. Separately I have my texture. Both are setup exactly like you have demonstrated but I am not seeing any adaptive results on any axis after scaling. Object is 100x100x100, any scaling distorts all sides with my basic material.
Could you possibly do a quick recording of you setting it up from scratch?
P.S - Sorry for second necropost…