TerraForge3D  2.3.1
3D Terrain And Landscape Generator

◆ ShaderTextureNode()

ShaderTextureNode::ShaderTextureNode ( GLSLHandler handler,
ShaderTextureManager textureManager 
)

Definition at line 153 of file ShaderTextureNode.cpp.

154 :SNENode(handler), textureManager(textureManager)
155{
156 name = "Texture";
157 headerColor = ImColor(SHADER_TEXTURE_NODE_COLOR);
158 outputPins.push_back(new SNEPin(NodeEditorPinType::Output, SNEPinType::SNEPinType_Float3));
159 texture = new Texture2D(GetExecutableDir() + PATH_SEPARATOR "Data" PATH_SEPARATOR "textures" PATH_SEPARATOR "white.png");
160 textureManager->Register(this);
161}