summaryrefslogtreecommitdiffstats
path: root/examples/deferred-renderer-qml/FinalEffect.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/deferred-renderer-qml/FinalEffect.qml')
-rw-r--r--examples/deferred-renderer-qml/FinalEffect.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/deferred-renderer-qml/FinalEffect.qml b/examples/deferred-renderer-qml/FinalEffect.qml
index 632487688..f46e65c12 100644
--- a/examples/deferred-renderer-qml/FinalEffect.qml
+++ b/examples/deferred-renderer-qml/FinalEffect.qml
@@ -91,9 +91,9 @@ Effect {
void main()
{
vec2 texCoord = gl_FragCoord.xy / winSize;
- vec4 col = texture2D(color, texCoord);
- vec3 pos = texture2D(position, texCoord).xyz;
- vec3 norm = texture2D(normal, texCoord).xyz;
+ vec4 col = texture(color, texCoord);
+ vec3 pos = texture(position, texCoord).xyz;
+ vec3 norm = texture(normal, texCoord).xyz;
vec4 lightColor;
for (int i = 0; i < lightCount; i++) {