User:T L T

From Bo3b's School for Shaderhackers
Revision as of 02:13, 18 September 2015 by T L T (Talk | contribs)

Jump to: navigation, search

Lesson 0

TheBall01 50T L T.jpg


Lesson 0.5

TheBall02 T L T.jpg


Lesson 1

//
// Generated by Microsoft (R) HLSL Shader Compiler 9.27.952.3022
//
// Parameters:
//
//   float4 TextureComponentReplicateAlpha;
//   sampler2D _Texture;
//
//
// Registers:
//
//   Name                           Reg   Size
//   ------------------------------ ----- ----
//   TextureComponentReplicateAlpha c0       1
//   _Texture                       s0       1
//

    ps_3_0
    dcl_texcoord v0.xy
    dcl_texcoord1 v1
    dcl_2d s0
    texld r0, v0, s0
    dp4 r0.w, r0, c0
    mul oC0, r0, v1

// approximately 3 instruction slots used (1 texture, 2 arithmetic)