cute trick I found in because the texture scaling always bugged me. if you set the "material.mainTextureScale" to a "Vector2" of the local scale multiplied by a base scale unit you can create an instance of that material scaled correctly and tiled.

gives you errors about material leaks though. still looking at how to fix that without using "sharedMaterial" because I don't want to edit the basic material.

ยท 1 ยท 0 ยท 0

@tastytentacles Errors? Whenever I had to "leak" material intentionally, I certainly didn't receive any errors or warnings about it.
Anyway, did you figure out the best approach since your post?

@maximkamalov not really, it's an error in the sense of being in the red warning box. From what I can tell it doesn't like creating material instances in edit mode but it's fine doing the same thing at run time.

Sign in to participate in the conversation

Sponsored by:


...and a couple bottles of Afri cola

A cozy space for everyone (* ^ ฯ‰ ^) โœจ

This server doesn't have a specific theme or topic and everyone is welcome to join :)

koyu's personal website

Server Status

Shop on Shop

Donate using Liberapay


Proud member of the: Keep The Internet Quirky Association