I’m sorry if this might be a very noobish question.
I’m trying to add texture to a scene.
I created Disney Materials and I’m now trying to add a texture file (jpg) to the base color.
(Of course) the texture is not correctly applied.
I’m assuming that since I chose the Disney Material Route, my only option is to use expressions.
I tried this expression:
$tilex = 5.0; # 0.000, 10.000
$tiley = 5.0; # 0.000, 10.000
texture("…/texture.jpg", $u * $tilex, $v * $tiley)
But I get an error stating
2019-11-12T17:44:19.240494Z <001> 6012 MB error | expression error: Prep errors: 2019-11-12T17:44:19.240494Z <001> 6012 MB error | Line 3: No function named texture
What am I missing?
What would be a best practice in Appleseed?