diff --git a/chapters/high_level_shader_language_comparison.adoc b/chapters/high_level_shader_language_comparison.adoc index d814022..38ce8c8 100644 --- a/chapters/high_level_shader_language_comparison.adoc +++ b/chapters/high_level_shader_language_comparison.adoc @@ -56,10 +56,11 @@ HLSL: float4x3 mat = (float4x3)(ubo.view); ---- -[NOTE] -==== -An important difference: Matrices in GLSL are column-major, while matrices in HLSL are row-major. This affects things like matrix construction. -==== +=== Matrix Layout + +It is important to be mindful that matrices in GLSL are column-major, while matrices in HLSL are row-major. This affects things like matrix construction. + +image::{images}high_level_shader_language_comparison_matrix.png[high_level_shader_language_comparison_matrix.png] == Implicit vk Namespace diff --git a/chapters/images/high_level_shader_language_comparison_matrix.png b/chapters/images/high_level_shader_language_comparison_matrix.png new file mode 100644 index 0000000..229faa2 Binary files /dev/null and b/chapters/images/high_level_shader_language_comparison_matrix.png differ