Home

Awesome

pipeline status

AMD Barycentric Shader Extension Sample

This sample shows how to use the GCN shader extensions for D3D11 to access the barycentric intrinsic instruction in an HLSL pixel shader.

Prerequisites

Sample Overview

This sample renders a triangle zooming in and out. The triangle uses a checker board texture modulated by the barycentric coordinates as RGB colors.

Points of Interest

Attribution