All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.gempukku.libgdx.graph.shader.config.common.effect.FresnelEffectShaderNodeConfiguration Maven / Gradle / Ivy

The newest version!
package com.gempukku.libgdx.graph.shader.config.common.effect;

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 FresnelEffectShaderNodeConfiguration extends NodeConfigurationImpl {
    public FresnelEffectShaderNodeConfiguration() {
        super("FresnelEffect", "Fresnel effect", "Effect");
        addNodeInput(
                new GraphNodeInputImpl("normal", "Normal", true, ShaderFieldType.Vector3));
        addNodeInput(
                new GraphNodeInputImpl("viewDir", "View direction", true, ShaderFieldType.Vector3));
        addNodeInput(
                new GraphNodeInputImpl("power", "Power", true, ShaderFieldType.Float));
        addNodeOutput(
                new GraphNodeOutputImpl("output", "Output", ShaderFieldType.Float));
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy