Page 1 of 2

Random texture tiling

Posted: Fri Apr 10, 2020 3:20 pm
by lcetina
Hi,

Is it possible to achieve this or at least any similar effect of randomizing/rotating tiles?

https://blogs.unity3d.com/2019/02/14/pr ... -in-unity/
67801476_859576087762793_4763192252514172928_o.jpg
68961877_859576027762799_4664134930685493248_o.jpg

Re: Random texture tiling

Posted: Fri Apr 10, 2020 6:16 pm
by nejck
Chaos radnomization mapping. I suggest taking a look at the latest GTC talk for more info about it - https://developer.nvidia.com/gtc/2020/video/s22153

tldr: As it seems it is in development as we speak :)

Re: Random texture tiling

Posted: Mon Apr 13, 2020 8:42 am
by bepeg4d
Sorry, I can find only the 3ds Max discussion, but please have a look at this texture_tiling.osl script here:
viewtopic.php?f=27&t=65762&hilit=texture_tiling.osl

ciao Beppe

Re: Random texture tiling

Posted: Wed Apr 15, 2020 5:45 am
by lcetina
Thank you both for replies.

OSL looks great, I've never used it before and I'll give it a try.

Re: Random texture tiling

Posted: Sat Jul 25, 2020 10:34 pm
by Jengo_1
So....No way to do this in C4D? How can I texture a simple wall then? I can't scale up the texture cuz it looks bad, and without doing it it looks tiled...

Or will this OSL code work on C4D octane textures too? Thanks!

Re: Random texture tiling

Posted: Sun Jul 26, 2020 11:04 pm
by aoktar
Let me know this helps or not

Re: Random texture tiling

Posted: Mon Jul 27, 2020 12:17 am
by aoktar
Another one

Re: Random texture tiling

Posted: Mon Jul 27, 2020 2:05 am
by Jengo_1
This looks promising! Will test out asap and let you know

Thanks!

Re: Random texture tiling

Posted: Mon Jul 27, 2020 2:49 am
by Jengo_1
Hey so I'm struggeling with the second post - when I setup a Projection node with OSLProjection, it won't give me options to add parameters, only the code. Also, I copied the code in, letter by letter, checked 10 times that its identical, but still gives me a syntax error on line 7 (the float ox one).
What am I doing wrong? Any chacne to get the project file? But generally would also like to know how to add parameters to the OSL part.

Thanks Aoktar!

Re: Random texture tiling

Posted: Mon Jul 27, 2020 8:13 pm
by aoktar
Attached the project! Osl parameters need to be set as how much tiles have in texture for best results. Enjoy it!