com.gempukku.libgdx.graph.plugin.lighting3d.producer.ApplyNormalMapShaderNodeConfiguration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of libgdx-graph Show documentation
Show all versions of libgdx-graph Show documentation
libGDX-graph runtime library for pipeline rendering
The newest version!
package com.gempukku.libgdx.graph.plugin.lighting3d.producer;
import com.gempukku.libgdx.graph.data.NodeConfigurationImpl;
import com.gempukku.libgdx.graph.pipeline.producer.node.GraphNodeInputImpl;
import com.gempukku.libgdx.graph.pipeline.producer.node.GraphNodeOutputImpl;
import com.gempukku.libgdx.graph.shader.ShaderFieldType;
public class ApplyNormalMapShaderNodeConfiguration extends NodeConfigurationImpl {
public ApplyNormalMapShaderNodeConfiguration() {
super("ApplyNormalMap", "Apply normal map", "Lighting");
addNodeInput(
new GraphNodeInputImpl("normal", "Normal", true, ShaderFieldType.Vector3));
addNodeInput(
new GraphNodeInputImpl("tangent", "Tangent", true, ShaderFieldType.Vector3));
addNodeInput(
new GraphNodeInputImpl("normalMap", "Normal from map", true, ShaderFieldType.Vector3, ShaderFieldType.Vector4));
addNodeInput(
new GraphNodeInputImpl("strength", "Strength", false, ShaderFieldType.Float));
addNodeOutput(
new GraphNodeOutputImpl("output", "Normal", ShaderFieldType.Vector3));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy