TexCombine.dpr 921 B

123456789101112131415161718192021222324252627
  1. {: TexCombineShader demo / mini-lab.
  2. This is an advanced demo, which showcases use and setup of extra texture
  3. units, along with texture combination possibilities.
  4. The texture combiner allows to declare how each texture unit should
  5. be used, and how each should be combined with the others. Basicly,
  6. a texture combiner "code" defines how each texture should be combined,
  7. knowing that the result of the last texture unit (the one with the higher
  8. index) defines the final output.
  9. Note that if the code allows you to declare the combiners in any order,
  10. the hardware will evaluate them in their index order, and will only accept
  11. one combiner assignement for each texture unit.
  12. }
  13. program TexCombine;
  14. uses
  15. Forms,
  16. fTexCombine in 'fTexCombine.pas' {FormTexCombine};
  17. {$R *.res}
  18. begin
  19. Application.Initialize;
  20. Application.CreateForm(TFormTexCombine, FormTexCombine);
  21. Application.Run;
  22. end.