Skip to content
Snippets Groups Projects
Commit 544db444 authored by Mathias Paulin's avatar Mathias Paulin :speech_balloon:
Browse files

[librender] Textures from sources are named by instance.

parent bca877d4
Branches
No related tags found
No related merge requests found
......@@ -7,7 +7,7 @@ class NodeBasedRenderer_LIBRARY_API ColorTextureNode : public TextureNode
explicit ColorTextureNode( const std::string& name ) :
TextureNode( name,
getTypename(),
Ra::Engine::Data::TextureParameters{ "Color Texture",
Ra::Engine::Data::TextureParameters{ name + " (Color)",
gl::GL_TEXTURE_2D,
1,
1,
......
......@@ -7,7 +7,7 @@ class NodeBasedRenderer_LIBRARY_API DepthTextureNode : public TextureNode
explicit DepthTextureNode( const std::string& name ) :
TextureNode( name,
getTypename(),
Ra::Engine::Data::TextureParameters{ "Depth Texture",
Ra::Engine::Data::TextureParameters{ name + " (Depth)",
gl::GL_TEXTURE_2D,
1,
1,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment