GithubHelp home page GithubHelp logo

thedemons / shader-tutorial-for-direct3d9 Goto Github PK

View Code? Open in Web Editor NEW
10.0 2.0 0.0 22.16 MB

A brief tutorial on how to implement shaders in Direct3D9

direct3d direct3d9 directx directx-9 directx9 hlsl hlsl-shader

shader-tutorial-for-direct3d9's Introduction

HLSL Shaders Tutorial for Direct3D 9

Introduction

After weeks of desperate searching on the internet for proper documentation on how to work with shaders in Direct3D 9, I finally grasped the basic concept of it and decided to make a short beginner-friendly tutorial.

The problem

DX9 is old, to say the least, but it is also the easiest starting point if you want to learn DX11 or DX12.
There are a few good tutorials out there on how to draw your first triangle, load your first mesh, but I've found none talking about shaders, which is a pretty important part if you wanted to make eye-candy effects or optimize performance.
Even Microsoft's documentation on how to load a shader is very-very confusing.

The goal of this tutorial

This tutorial aims for a fast and easy way to learn shaders. The goal is to provide the shortest, most intuitive explanation of shaders. It won't teach you in-depth advanced techniques but rather gives you a basic concept of how everything works.

Table of Contents

shader-tutorial-for-direct3d9's People

Contributors

thedemons avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.