Closed Jackalgirl closed 1 year ago
Jack has pointed out that the issue with materials on TriangleMeshes is due to the TriangleMesh not having a UV map (neither does the Icosahedron) -- while using Triplanar will allow the material to appear on the Triangle, Triplanar is (as I understand it, and I could be wrong) "borrowing" the UV map from the world, so as you move the object around, the mapping will move, too.
So an alternate solution would be to update the default TriangleMesh (and anything else that doesn't have a UV map) to include a UV map.
Jack helped me figure out an inWorld fix to this (copy the vertex x, y values into the x, y fields of the vertex's UV0 fields, for each vertex), so as the situation isn't actually as I've described, I'm going to close this out.
Is your feature request related to a problem? Please describe.
I've found that when an object is a TriangleMesh or makes use of TriangleMeshes, and you click on "setup renderer" in the TriangleMesh component, Neos sets up the MeshRenderer component with a companion PBS_Metallic component.
However, when you apply a material (such as a nice stony material as found in Neos Essentials > Materials > Stone), either by dropping a material in the Renderer's materials field or by zapping your Mesh with the Material Tooltip, the result is...well, not a whole lot: a color, but no actual albedo pattern or texture iaw the material, and modifying the material properties (such as trying to monkey with scale) makes no change to the appearance of the Mesh.
As a (relatively) new person, this was frustrating to me, until I realized that I needed to make a new PBS_TriplanarMetallic material instead of PBS_Metallic. When I created and generated this material and dropped it into the MeshRenderer's material list, all was right with the world. This makes 100% sense now that I think about it, but I was thrown by the fact that the default behavior is to set up PBS_Metallic instead of PBS_TriplanarMetallic.
Relevant issues
No response
Describe the solution you'd like
I would love to see a TriangleMeshRenderer component, one that automatically loads up a PBS_TriplanarMetallic material, which is automatically added to TriangleMeshes when the "setup renderer" button is pressed.
Likewise, if and when "Triangle" is added to the list of meshes one can select when creating a new 3D model, having it automatically apply this TriangleMeshRenderer would be great.
Describe alternatives you've considered
It's perfectly possible to build this all from scratch as demonstrated by ProbablePrime; however, a user needs to be aware to set up a PBS_TriplanarMetallic material instead of a PBS_Metallic one.
Additional context
Note: there's probably already something that does all of this that I've just missed because I'm new and flailing about, but I haven't stumbled onto it yet.