We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf7bc39 commit 401fcb3Copy full SHA for 401fcb3
programming/shaders/list-of-glsl-inputs.rst
@@ -141,7 +141,7 @@ any shader stage.
141
142
// Access the material attributes assigned via a Material object.
143
// Unused struct parameters may be omitted without consequence.
144
- uniform struct {
+ uniform struct p3d_MaterialParameters {
145
vec4 ambient;
146
vec4 diffuse;
147
vec4 emission;
@@ -156,7 +156,7 @@ any shader stage.
156
} p3d_Material;
157
158
// The sum of all active ambient light colors.
159
+ uniform struct p3d_LightModelParameters {
160
161
} p3d_LightModel;
162
0 commit comments