LilySurfaceScraper
LilySurfaceScraper copied to clipboard
Cylces node setup improvements
After watching Andrew Price's recent tutorial on avoiding texture repetition, I think there are 3 things that we could improve:
- We should add a texture coordinates node and connect every texture map with that
- We should wrap all of the texture maps inside of a node group so that the texture can be used inside of other materials aswell
- We could consider adding a random rotation setup aswell. Maybe with a checkbox that toggles if you want to add it to the node tree or not. It's super simple, but surprisingly effective.
before
after
I think the reason going for it is that it is super useful for environmental textures, but generic enough that we aren't making a specific solution for a single use-case. I think LilySurfaceScrapper is very much about speed and this can save some clicks. The node group should be rather cheap in terms of performance cost (only two procedural textures at 2D) and the detail slider on the Noise Texure could be exposed so that the user can dial it down if he finds that he doesn't need it.
Great suggestion :) I just watched the aforementioned video and though kinda the same ^^ I had done some research about tile-based regeneration to break repetition effect but it was too complicated to be useful, what you suggest feels much better.
NB: There is now a database.blend file included that can be used to store node group presets. It is used for fake ground in HDRI import.
Ah nice! I had that part working in the PR I made ages ago, but I think I stopped because I couldn't get better auto alignment to work
The auto alignment of nodes has been totally reworked ;)
There is a problem with Poliigon's add-on and other setups. They all treat normal maps wrongly. If you rotate or mirror UV, you have to do the same for UV tangent for tangent space normal maps. In other words, you have to apply the transformations to normals.
https://drive.google.com/file/d/1mO6iBnCrSAavp01PPbwTU58EwVn7KZ52/view?usp=sharing https://cdn.discordapp.com/attachments/185590609631903755/753467877385830400/200910_064522.mp4
@unwave Hem are you sure this is related to LilySurfaceScraper? We're not Poliigon. ^^
@eliemichel @benthillerkus 's setup also does not treat normals as it should. Poliigon is just an example of publishing without proper research. Benthillerkus referenced their video. 8 months and they haven't fixed it yet. Like I am the only one who cares.
Huh, that's interesting. Does that apply to displacements too? This is at this point a stale PR; if I pick it up again, I'll add them.
@benthillerkus In a different way. The height is unusable for close-ups because of the discontinuity. A seams masking is needed. If you don't want, you may not bother as I solve the issues in my add-on. Elie can adapt it. Poliigon also lacks it.
Yeah, I'd fix the normals, but I wouldn't touch the way it's doing the tiles / blending as I'm trying to keep it minimal and performance friendly. If one wants to do more they can always go into the nodes and change it themselves (or use an add-on like yours).