glgeLight.vwf.yaml 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. # Copyright 2012 United States Government, as represented by the Secretary of Defense, Under
  2. # Secretary of Defense (Personnel & Readiness).
  3. #
  4. # Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
  5. # in compliance with the License. You may obtain a copy of the License at
  6. #
  7. # http://www.apache.org/licenses/LICENSE-2.0
  8. #
  9. # Unless required by applicable law or agreed to in writing, software distributed under the License
  10. # is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
  11. # or implied. See the License for the specific language governing permissions and limitations under
  12. # the License.
  13. ## The component representation of a light in 3D space
  14. ##
  15. ## @name light.vwf
  16. ## @namespace
  17. ---
  18. extends: http://vwf.example.com/node3.vwf
  19. properties:
  20. ## Constant attenuation
  21. ##
  22. ## @name light.vwf#constantAttenuation
  23. ## @property
  24. glge-constantAttenuation:
  25. ## Linear attenuation
  26. ##
  27. ## @name light.vwf#linearAttenuation
  28. ## @property
  29. glge-linearAttenuation:
  30. ## Quadratic attenuation
  31. ##
  32. ## @name light.vwf#quadraticAttenuation
  33. ## @property
  34. glge-quadraticAttenuation:
  35. ## Enables the spotCosCutOff calculations
  36. ##
  37. ## @name light.vwf#spotCutOff
  38. ## @property
  39. glge-spotCutOff:
  40. ## Represents the cosine ofthe angle beyond which the light is cut off
  41. ##
  42. ## @name light.vwf#spotCosCutOff
  43. ## @property
  44. glge-spotCosCutOff:
  45. ## Amount of "spottiness" of the spotlight
  46. ##
  47. ## @name light.vwf#spotExponent
  48. ## @property
  49. glge-spotExponent:
  50. ## Diffuse value
  51. ##
  52. ## @name light.vwf#diffuse
  53. ## @property
  54. glge-diffuse:
  55. ## Specular value
  56. ##
  57. ## @name light.vwf#specular
  58. ## @property
  59. glge-specular:
  60. ## The number of samples for shadow
  61. ##
  62. ## @name light.vwf#samples
  63. ## @property
  64. glge-samples:
  65. ## The softness value of shadow
  66. ##
  67. ## @name light.vwf#softness
  68. ## @property
  69. glge-softness:
  70. ## The Shadow Buffer Memory size for the resolution height of the shadow
  71. ##
  72. ## @name light.vwf#bufferHeight
  73. ## @property
  74. glge-bufferHeight:
  75. ## The Shadow Buffer Memory size for the resolution width of the shadow
  76. ##
  77. ## @name light.vwf#bufferWidth
  78. ## @property
  79. glge-bufferWidth:
  80. ## The shadow buffer bias. Map bias moves the shadow toward or away from the shadow-casting object(s)
  81. ##
  82. ## @name light.vwf#shadowBias
  83. ## @property
  84. glge-shadowBias:
  85. ## The shadow casting distance
  86. ##
  87. ## @name light.vwf#distance
  88. ## @property
  89. glge-distance:
  90. ## The shadow casting flag. True if casting shadows is enabled.
  91. ##
  92. ## @name light.vwf#castShadows
  93. ## @property
  94. glge-castShadows:
  95. ## Sets the cascade levels
  96. ##
  97. ## @name light.vwf#cascadeLevels
  98. ## @property
  99. glge-cascadeLevels:
  100. ## Sets the softness if this is a spot light
  101. ##
  102. ## @name light.vwf#spotSoftness
  103. ## @property
  104. glge-spotSoftness:
  105. ## Sets the distance of the softness if this is a spot light
  106. ##
  107. ## @name light.vwf#spotSoftness
  108. ## @property
  109. glge-spotSoftnessDistance: