1-- glslfx version 0.1
2
3//
4// Copyright 2016 Pixar
5//
6// Licensed under the Apache License, Version 2.0 (the "Apache License")
7// with the following modification; you may not use this file except in
8// compliance with the Apache License and the following modification to it:
9// Section 6. Trademarks. is deleted and replaced with:
10//
11// 6. Trademarks. This License does not grant permission to use the trade
12//    names, trademarks, service marks, or product names of the Licensor
13//    and its affiliates, except as required to comply with Section 4(c) of
14//    the License and to reproduce the content of the NOTICE file.
15//
16// You may obtain a copy of the Apache License at
17//
18//     http://www.apache.org/licenses/LICENSE-2.0
19//
20// Unless required by applicable law or agreed to in writing, software
21// distributed under the Apache License with the above modification is
22// distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
23// KIND, either express or implied. See the Apache License for the specific
24// language governing permissions and limitations under the Apache License.
25//
26
27--- This is what an import might look like.
28--- #import $TOOLS/hdSt/shaders/renderPassShader.glslfx
29
30#import $TOOLS/hdSt/shaders/renderPass.glslfx
31
32-- configuration
33{
34    "techniques": {
35        "default": {
36            "vertexShader" : {
37                "source": [ "RenderPass.Camera",
38                            "RenderPass.ApplyClipPlanes" ]
39            },
40            "tessControlShader" : {
41                "source": [ "RenderPass.Camera",
42                            "RenderPass.ApplyClipPlanes" ]
43            },
44            "tessEvalShader" : {
45                "source": [ "RenderPass.Camera",
46                            "RenderPass.ApplyClipPlanes" ]
47            },
48            "geometryShader" : {
49                "source": [ "RenderPass.Camera",
50                            "RenderPass.ApplyClipPlanes" ]
51            },
52            "fragmentShader" : {
53                "source": [ "RenderPass.Camera",
54                            "RenderPass.ShouldCullFace",
55                            "RenderPass.NoSelection",
56                            "RenderPass.ApplyColorOverrides",
57                            "RenderPass.RenderColor" ]
58            }
59        }
60    }
61}
62