TerraForge3D  2.3.1
3D Terrain And Landscape Generator

◆ PBRMaterialNode()

PBRMaterialNode::PBRMaterialNode ( GLSLHandler handler)

Definition at line 222 of file PBRMaterialNode.cpp.

223 :SNENode(handler)
224{
225 name = "PBR Material";
226 headerColor = ImColor(SHADER_MATERIAL_NODE_COLOR);
227 inputPins.push_back(new SNEPin(NodeEditorPinType::Input, SNEPinType::SNEPinType_Float3)); // Albedo
228 inputPins.push_back(new SNEPin(NodeEditorPinType::Input, SNEPinType::SNEPinType_Float3)); // Normal
229 inputPins.push_back(new SNEPin(NodeEditorPinType::Input, SNEPinType::SNEPinType_Float3)); // Metallic
230 inputPins.push_back(new SNEPin(NodeEditorPinType::Input, SNEPinType::SNEPinType_Float3)); // Roughness
231 inputPins.push_back(new SNEPin(NodeEditorPinType::Input, SNEPinType::SNEPinType_Float3)); // Ambient Occlusion
232 inputPins.push_back(new SNEPin(NodeEditorPinType::Input, SNEPinType::SNEPinType_Float3)); // ARM
233 outputPins.push_back(new SNEPin(NodeEditorPinType::Output, SNEPinType::SNEPinType_Float3)); // Result
234}