Welcome to mirror list, hosted at ThFree Co, Russian Federation.

common_view_lib.glsl « shaders « modes « draw « blender « source - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d261d263a6f7822ca6915f6ad352e488dc0edf0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* keep in sync with DRWManager.view_data */
layout(std140) uniform viewBlock {
	/* Same order as DRWViewportMatrixType */
	mat4 ViewProjectionMatrix;
	mat4 ViewProjectionMatrixInverse;
	mat4 ViewMatrix;
	mat4 ViewMatrixInverse;
	mat4 ProjectionMatrix;
	mat4 ProjectionMatrixInverse;

	vec4 CameraTexCoFactors;

	vec4 clipPlanes[2];
};