ssr.wgsl
Name | Group | Binding index | Binding type | Type |
---|---|---|---|---|
color_texture
#
![]() |
1 | 0 | texture_2d<f32> | |
color_sampler
#
![]() |
1 | 1 |
sampler
![]() |
Parameter | Type |
---|---|
R_world |
vec3<f32>
![]() |
P_world |
vec3<f32>
![]() |
Parameter | Type |
---|---|
in | FullscreenVertexOutput |
R_world
: The reflection vector in world space. *P_world
: The current position in world space. [1]: https://lettier.github.io/3d-game-shaders-for-beginners/screen-space-reflection.html