12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- name: "screenspace"
- tags: "model"
- vertex_program: "/example/screenspace.vp"
- fragment_program: "/example/screenspace.fp"
- vertex_space: VERTEX_SPACE_LOCAL
- vertex_constants {
- name: "mtx_world"
- type: CONSTANT_TYPE_WORLD
- }
- vertex_constants {
- name: "mtx_view"
- type: CONSTANT_TYPE_VIEW
- }
- vertex_constants {
- name: "mtx_proj"
- type: CONSTANT_TYPE_PROJECTION
- }
- fragment_constants {
- name: "pattern_opts"
- type: CONSTANT_TYPE_USER
- value {
- x: 0.5
- y: 30.0
- }
- }
- fragment_constants {
- name: "screen_size"
- type: CONSTANT_TYPE_USER
- value {
- x: 1920.0
- y: 1080.0
- }
- }
- samplers {
- name: "texture0"
- wrap_u: WRAP_MODE_CLAMP_TO_EDGE
- wrap_v: WRAP_MODE_CLAMP_TO_EDGE
- filter_min: FILTER_MODE_MIN_LINEAR
- filter_mag: FILTER_MODE_MAG_LINEAR
- max_anisotropy: 0.0
- }
- samplers {
- name: "texture_pattern"
- wrap_u: WRAP_MODE_REPEAT
- wrap_v: WRAP_MODE_REPEAT
- filter_min: FILTER_MODE_MIN_LINEAR
- filter_mag: FILTER_MODE_MAG_LINEAR
- max_anisotropy: 0.0
- }
|