fMultiMaterialC.dfm 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. object Form1: TForm1
  2. Left = 0
  3. Top = 0
  4. Caption = 'MultiMaterial'
  5. ClientHeight = 532
  6. ClientWidth = 734
  7. Color = clBtnFace
  8. Font.Charset = DEFAULT_CHARSET
  9. Font.Color = clWindowText
  10. Font.Height = -11
  11. Font.Name = 'Tahoma'
  12. Font.Style = []
  13. Position = poScreenCenter
  14. OnCreate = FormCreate
  15. OnMouseWheel = FormMouseWheel
  16. TextHeight = 13
  17. object GLSceneViewer1: TGLSceneViewer
  18. Left = 0
  19. Top = 0
  20. Width = 734
  21. Height = 532
  22. Camera = GLCamera1
  23. Buffer.BackgroundColor = clTeal
  24. FieldOfView = 158.708679199218800000
  25. PenAsTouch = False
  26. Align = alClient
  27. OnMouseDown = GLSceneViewer1MouseDown
  28. OnMouseMove = GLSceneViewer1MouseMove
  29. TabOrder = 0
  30. ExplicitWidth = 527
  31. ExplicitHeight = 411
  32. end
  33. object GLScene1: TGLScene
  34. Left = 24
  35. Top = 8
  36. object GLDummyCube1: TGLDummyCube
  37. CubeSize = 1.000000000000000000
  38. object GLCamera1: TGLCamera
  39. DepthOfView = 100.000000000000000000
  40. FocalLength = 50.000000000000000000
  41. SceneScale = 2.000000000000000000
  42. TargetObject = GLDummyCube1
  43. Position.Coordinates = {0000803F000040400000A0C00000803F}
  44. object GLLightSource1: TGLLightSource
  45. ConstAttenuation = 1.000000000000000000
  46. SpotCutOff = 180.000000000000000000
  47. end
  48. end
  49. end
  50. object GLCube1: TGLCube
  51. Material.MaterialLibrary = GLMatLib1
  52. Material.LibMaterialName = 'MultipassMat'
  53. CubeSize = {000000400000004000000040}
  54. end
  55. end
  56. object GLMatLib1: TGLMaterialLibrary
  57. Materials = <
  58. item
  59. Name = 'MultipassMat'
  60. Tag = 0
  61. Shader = GLMultiMaterialShader1
  62. end>
  63. Left = 120
  64. Top = 8
  65. end
  66. object GLMatLib2: TGLMaterialLibrary
  67. Left = 120
  68. Top = 64
  69. end
  70. object GLMultiMaterialShader1: TGLMultiMaterialShader
  71. MaterialLibrary = GLMatLib2
  72. VisibleAtDesignTime = False
  73. ShaderStyle = ssReplace
  74. Left = 240
  75. Top = 64
  76. end
  77. object GLCadencer1: TGLCadencer
  78. Scene = GLScene1
  79. OnProgress = GLCadencer1Progress
  80. Left = 24
  81. Top = 64
  82. end
  83. object GLTexCombineShader1: TGLTexCombineShader
  84. Combiners.Strings = (
  85. 'Tex0:=PrimaryColor dot3 Tex0;')
  86. DesignTimeEnabled = False
  87. Left = 240
  88. Top = 8
  89. end
  90. end