yes
This commit is contained in:
15
Assets/Shaders/Modules/ViewerData.nzsl
git.filemode.normal_file
15
Assets/Shaders/Modules/ViewerData.nzsl
git.filemode.normal_file
@@ -0,0 +1,15 @@
|
||||
[nzsl_version("1.0")]
|
||||
module ScopEngine.ViewerData;
|
||||
|
||||
[export]
|
||||
[layout(std140)]
|
||||
struct ViewerData
|
||||
{
|
||||
projection_matrix: mat4[f32],
|
||||
inv_projection_matrix: mat4[f32],
|
||||
view_matrix: mat4[f32],
|
||||
inv_view_matrix: mat4[f32],
|
||||
view_proj_matrix: mat4[f32],
|
||||
inv_view_proj_matrix: mat4[f32],
|
||||
camera_position: vec3[f32],
|
||||
}
|
||||
Reference in New Issue
Block a user