; Copyright 2011 Google Inc. All Rights Reserved.
;
; Note: This file is auto-generated. All changes will be lost.

; OpenGL dependent settings.
PLATFORM = ogl {
  ; Bindings for vertex shader.
  ; 
  ; File containing vertex shader code.
  SETTINGS(vertexShader) {
    _textDefinition.file = stleafcard.arbvp1
  }
  ; Constant registers.
  SETTINGS(batch_model_view_proj_VS) {
    _baseRegister.value = 1
  }
  SETTINGS(batch_camera_location_VS) {
    _baseRegister.value = 5
  }
  SETTINGS(batch_camera_direction_VS) {
    _baseRegister.value = 6
  }
  SETTINGS(batch_camera_params_VS) {
    _baseRegister.value = 7
  }
  SETTINGS(lightDirection_VS) {
    _baseRegister.value = 8
  }
  SETTINGS(treeRotationVector_VS) {
    _baseRegister.value = 9
  }
  SETTINGS(treePosAndScale_VS) {
    _baseRegister.value = 10
  }
  SETTINGS(lod_profile_VS) {
    _baseRegister.value = 11
  }
  SETTINGS(materialDiffuse_VS) {
    _baseRegister.value = 12
  }
  ; Bindings for pixel shader.
  ; 
  ; File containing pixel shader code.
  SETTINGS(pixelShader) {
    _textDefinition.file = stleafcard.arbfp1
  }
  ; Constant registers.
  SETTINGS(materialAmbient_PS) {
    _baseRegister.value = 0
  }
  SETTINGS(materialDiffuse_PS) {
    _baseRegister.value = 1
  }
  ; Texture samplers.
  SETTINGS(diffuseMap_PS) {
    _samplerNumber.value = 0
  }
  SETTINGS(normalMap_PS) {
    _samplerNumber.value = 1
  }
}

; DirectX9 dependent settings.
PLATFORM = dx9 {
  ; Bindings for vertex shader.
  ; 
  ; File containing vertex shader code.
  SETTINGS(vertexShader) {
    _textDefinition.file = stleafcard.vs_2_0
  }
  ; Constant registers.
  SETTINGS(batch_model_view_proj_VS) {
    _baseRegister.value = 0
  }
  SETTINGS(batch_camera_location_VS) {
    _baseRegister.value = 4
  }
  SETTINGS(batch_camera_direction_VS) {
    _baseRegister.value = 5
  }
  SETTINGS(batch_camera_params_VS) {
    _baseRegister.value = 6
  }
  SETTINGS(lightDirection_VS) {
    _baseRegister.value = 7
  }
  SETTINGS(treeRotationVector_VS) {
    _baseRegister.value = 8
  }
  SETTINGS(treePosAndScale_VS) {
    _baseRegister.value = 9
  }
  SETTINGS(lod_profile_VS) {
    _baseRegister.value = 10
  }
  SETTINGS(materialDiffuse_VS) {
    _baseRegister.value = 11
  }
  ; Bindings for pixel shader.
  ; 
  ; File containing pixel shader code.
  SETTINGS(pixelShader) {
    _textDefinition.file = stleafcard.ps_2_0
  }
  ; Constant registers.
  SETTINGS(materialAmbient_PS) {
    _baseRegister.value = 0
  }
  SETTINGS(materialDiffuse_PS) {
    _baseRegister.value = 1
  }
  ; Texture samplers.
  SETTINGS(diffuseMap_PS) {
    _samplerNumber.value = 0
  }
  SETTINGS(normalMap_PS) {
    _samplerNumber.value = 1
  }
}

