Difference between revisions of "User:4everAwake"

From Bo3b's School for Shaderhackers
Jump to: navigation, search
(Created page with "700px The Ball- settings")
 
Line 1: Line 1:
 +
== Lesson 0 ==
 
[[File:TheBall01_99.jpg|700px]]
 
[[File:TheBall01_99.jpg|700px]]
 +
<br>
 +
== Lesson 1 ==
 +
<nowiki>// 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
 +
//
  
The Ball- settings
+
    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</nowiki>

Revision as of 08:59, 18 August 2014

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