mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
22 lines
614 B
Text
22 lines
614 B
Text
<@include gpu/Config.slh@>
|
|
<$VERSION_HEADER$>
|
|
// Generated on <$_SCRIBE_DATE$>
|
|
//
|
|
// subsurfaceScattering_makeProfile.frag
|
|
//
|
|
// Created by Sam Gateau on 6/27/16.
|
|
// Copyright 2016 High Fidelity, Inc.
|
|
//
|
|
// Distributed under the Apache License, Version 2.0.
|
|
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
|
//
|
|
|
|
<@include SubsurfaceScattering.slh@>
|
|
<$declareSubsurfaceScatteringGenerateProfileMap()$>
|
|
|
|
layout(location=0) in vec2 varTexCoord0;
|
|
layout(location=0) out vec4 outFragColor;
|
|
|
|
void main(void) {
|
|
outFragColor = vec4(generateProfile(varTexCoord0.xy), 1.0);
|
|
}
|