Specifying GPU features or a shader model To avoid seeing this warning message, explicitly add the requirements or use an appropriate target value in your code. If the list of requirements (or the equivalent target value) does not already include these values, Unity displays a warning message when it compiles the shader, to indicate that it has added these requirements. If a shader defines a tessellation stage (with #pragma hull or #pragma domain), Unity automatically adds tessellation to the list of requirements.If a shader defines a geometry stage (with #pragma geometry), Unity automatically adds geometry to the list of requirements.If your shader defines certain shader stages, Unity automatically adds items to the list of requirements. Default behaviorīy default, Unity compiles shaders with #pragma require derivatives, which corresponds to #pragma target 2.5. If your shader uses features that are not included in the list of requirements, this can result in either compile time errors, or in devices failing to support shaders at runtime. It is important to correctly describe the GPU features that your shader requires. A shader model is a shorthand for a group of GPU features internally, it is the same as a #pragma require directive with the same list of features. You can specify individual GPU features with the #pragma require directive, or specify a shader model with the #pragma target directive. At runtime, Unity uses this information to determine whether a shader program is compatible with the current hardware. More info See in Glossary requires certain GPU features.
#What is shader model 3.0 series#
NVidia GeForce FX 5000 series Pixel Shader 2.0b (DX 9.0b)ĪTI Radeon X700-X850 series Pixel Shader 3.0 (DX 9.0c)ĪTI Radeon X1300-X1950, nVidiaGeForce 6 et 7, Intel GMA X3000 series Pixel Shader 4.0 (DX 10)ĪTI Radeon X2400-X2900, nVidia GeForce 8 et 9 and GT200, Intel GMA X3100, X3500, X4500 series Pixel Shader 4.1 (DX 10.1)ĪTI Radeon HD 3000-4000 series and Nvidia GT 300, GT 220, GT 240 series Pixel Shader 5.You can use #pragma directives to indicate that a shader A program that runs on the GPU. NVidia GeForce 4 Ti/ 4200 Go series Pixel Shader 1.4 (DX 8.1)ĪTI Radeon 8500-9250 series Pixel Shader 2.0 (DX 9.0) NVidia GeForce 3 series Pixel Shader 1.3 (DX 8.0a) Here are the different versions of Pixel Shader with the Direct X version corresponding to the two leading manufacturers, ATI and nVidia, and also for the integrated chips from Intel (although their capacity for gaming is limited): Pixel Shader 1.0/1.1 (DX 8.0) Depending on the desired resolution, several million extra pixels may be necessary to achieve what is required. Games will be compatible depending on the version of Pixel Shader implemented in your graphics card.Therefore it is important to determine the limits of your graphics system.Ī Pixel Shader is a graphics function that calculates effects on a pixel level. As the pixel shader version is directly proportional to the capabilities of the graphics card, it is important to know the pixel shader version on the installed graphics card. There are various versions of pixel shaders available from two leading manufacturers, nVidia and ATI. Pixel shaders play an important role in determining which video games can be played on the system.