|
| [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 :
!!ARBfp1.0
# 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[1], 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[0], texture[0], 2D;
END
| Home | Archives | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2011 Apple Inc. All rights reserved.