|[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]|
I have a g5 1.8ghz with a retail 9800, panther 7b68_______________________________________________
and when i run even the simplest shader i get the error
Error on line 15: texture unit limit exceeded ( hint: ']' )
basics.shdr is :
# Basic ARB fragment program by James A. McCombe, Mon Jul 14 2003
# Implements a very simple texel lookup from the first texture unit at the
# interpolated texture coordinated passed through from the vertex program.
# Try changing the lookup to read from texture, to see the water texture. Another
# thing to try might be doing a sample from both texture units and modulating the result.
# Texture Units:
# Unit 0 - Rock texture map
# Unit 1 - Water texture map
TEX result.color, fragment.texcoord, texture, 2D;
Visit the Apple Store online or at retail locations.
Copyright © 2011 Apple Inc. All rights reserved.