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

Standard.Shader.GBuffer.properties.frag Maven / Gradle / Ivy

#version 450
#extension GL_ARB_separate_shader_objects:enable

layout(location=0) in vec3 fragPosition;
layout(location=1) in vec3 fragNormal;

layout(location=0) out vec3 outPosition;
layout(location=1) out vec3 outNormal;
layout(location=2) out float outStencil;

void main(){
    outPosition=fragPosition;
    outNormal=fragNormal;
    outStencil=0.0;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy