sky.material 546 B

1234567891011121314151617181920212223242526272829
  1. material sky
  2. {
  3. u_worldViewProjectionMatrix = WORLD_VIEW_PROJECTION_MATRIX
  4. sampler u_diffuseTexture
  5. {
  6. path = res/common/terrain/sky.dds
  7. mipmap = true
  8. wrapS = REPEAT
  9. wrapT = REPEAT
  10. minFilter = LINEAR_MIPMAP_LINEAR
  11. magFilter = LINEAR
  12. }
  13. renderState
  14. {
  15. cullFace = true
  16. depthTest = true
  17. }
  18. technique
  19. {
  20. pass
  21. {
  22. vertexShader = res/shaders/textured.vert
  23. fragmentShader = res/shaders/textured.frag
  24. }
  25. }
  26. }