Adding texture to Delaunay meshes

Hello everybody,
I’ve got a question regarding to the Delaunay node: The node creates a mesh out of triangles. Is it possible to fill the triangles with a texture instead of a color? I connected a DX9-texture node with the constant-node which is also connected to the Delaunay. But only the solid-color is changing instead of showing my texture in the traingle patterns.

Best regards

There is Delaunay with VertexColor in the DX11 Girlpower examples.
\packs\dx11\girlpower\sm4\geometry_shaders\Delaunay_VertexColor

In your example, you would probably have to write your own shader which would: take the vertex coordinate and use it in the vertex shader as a coordinate for sampler. The vertex shader would output the sample color of vertex for pixel shader.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.