Hi guys,
I have a shader developed by another artist using a triplanar texture node. Both the random texture offset and random texture rotation options are ticked and the random mode is set to Face Material ID. I now need to replicate the exact rotation and offset on a new mesh with a new shader and I can't figure out how - with the setup exactly the same on both, I'm getting different results. The random mode is set to 'face material ID' on both the original shader and the new shader, and both materials have the same material ID number (2). (Everything else is the same - object space, rest attributes, etc.)
I've tried creating an attribute on the new mesh to feed into the 'user attribute' random mode option and I can see in the IPR that the seed changes when I change the value, e.g. from 1 to 2. So that's great, I have control, but I can't figure out what seed value the original triplanar texture is reading to match it up.
Does anyone know:
a. how to find out what seed value the triplanar node is reading (with random mode set to 'Face Material ID')
b. if there's another way of matching the original offset/rotation without manually tweaking the parameters (it's not an easy texture to line up!)
Many thanks,
Andy
I have a shader developed by another artist using a triplanar texture node. Both the random texture offset and random texture rotation options are ticked and the random mode is set to Face Material ID. I now need to replicate the exact rotation and offset on a new mesh with a new shader and I can't figure out how - with the setup exactly the same on both, I'm getting different results. The random mode is set to 'face material ID' on both the original shader and the new shader, and both materials have the same material ID number (2). (Everything else is the same - object space, rest attributes, etc.)
I've tried creating an attribute on the new mesh to feed into the 'user attribute' random mode option and I can see in the IPR that the seed changes when I change the value, e.g. from 1 to 2. So that's great, I have control, but I can't figure out what seed value the original triplanar texture is reading to match it up.
Does anyone know:
a. how to find out what seed value the triplanar node is reading (with random mode set to 'Face Material ID')
b. if there's another way of matching the original offset/rotation without manually tweaking the parameters (it's not an easy texture to line up!)
Many thanks,
Andy
Comment