accessing textures in GLSL shader

How do I get at the textures defined by an EGG file in my GLSL shader?
Do I need to use setShaderInput for any texture I want to use, or is there an automatic mapping like in Cg (tex_0, tex_1, etc.)?

You can use p3d_Texture0, etc, or you can use setShaderInput.