Shadder and Effect - 0 Overview

zhaozj2021-02-16  52

Shadder and effect

Read this article shows that you have agreed to the statement

Chapter list

Chapter 1: Introducing advanced coloring languages

Chapter II: Introducing the vertex shader

Chapter III: Introducing the Pixel Shadder

Chapter 4: Effect Framework

Overview

So far, we have got the desired effect from the configuration of modifying the status of the device (eg matrix transform, light, texture, and rendering state). Although these various supported configurations provide some flexibility, we are still limited to these predefined fixed operations (thus being referred to as "fixed function lines").

This part of the subject is the vertex shader and pixel shader, which replaces the fixed-function pipeline with the custom program we implemented, and this custom program is called "shader". The shader is completely programmable and allows us to implement a fixed-function pipeline that does not have a trick (Technique). This result is that we can increase the number of techniques to be given. Programmable components of the rendering pipeline are often referred to as "Programmable Pipeline). The summary of each chapter is described below:

Chapter 1: Introducing Advanced Coloring Languages ​​- In this chapter, we will explore high-level shading language, which is the language we use in vertices and pixel shader programs.

Chapter 2: Introducing the vertex shader - this chapter will explain what is the vertex shader, and how to create and use them in Direct 3D. This chapter will show the vertex shader by explaining a cartoon style coloring technique.

Chapter 3: Introducing the Pixel Shadder - This chapter will explain what is a pixel shader, and how to create and use them in Direct 3D. This chapter will use the pixel shader to implement multi-texturing as the end.

Chapter 4: Effect Framework - In this chapter, we will discuss the effect framework of Direct3D. This chapter will describe the use of the effect framework, the structure and grammar of the effect file, and how to create an effect file and how to use the effect file in the Direct3D application.

[Declaration]: Introduction to 3D Game Programming With DirectX 9.0 "in this article, it is limited to the translator level, and it is inevitable that there is a mistake in the text. Welcome all netizen criticism; this article is only used for learning exchange and reference usage, not to use In any form of commercial use; if you need to reprint the author's own and translator's consent, maintain the integrity of the article, indicate the author, translator and source, for the consequences of violating the above terms, the translator Do not bear any responsibility. My email address is mailto: raymond_king123@hotmail.com, welcome 3D graphics and games, and friends with a certain graphic programming experience to communicate.

转载请注明原文地址:https://www.9cbs.com/read-23187.html

New Post(0)