User:4everAwake

From Bo3b's School for Shaderhackers
Revision as of 10:29, 9 September 2014 by 4everAwake (Talk | contribs)

Jump to: navigation, search

Lesson 0

TheBall01 99.jpg

Lesson 1

// The Ball- This shader controls DOF
// Generated by Microsoft (R) HLSL Shader Compiler 9.27.952.3022
//
// Parameters:
//
//   float4 SampleOffsets[2];
//
//
// Registers:
//
//   Name          Reg   Size
//   ------------- ----- ----
//   SampleOffsets c6       2
//

    vs_3_0
    dcl_position v0
    dcl_texcoord v1
    dcl_texcoord o0
    dcl_texcoord1 o1
    dcl_position o2
    add o0, c6, v1.xyyx
    add o1, c7, v1.xyyx
    mov o2, v0

// approximately 3 instruction slots used


Lesson 2

Before: TheBall01 4ever.jpg

After: TheBall02 4ever.jpg