Changeset 1407


Ignore:
Timestamp:
May 21, 2012, 11:25:26 PM (11 years ago)
Author:
sam
Message:

gpu: irrelevant tweaks to a test material file.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gpu/testmaterial.lolfx

    r1406 r1407  
    33 */
    44
    5 technique Foo // can have lots of different techniques in a single lolfx file
     5// Can have lots of different techniques in a single lolfx file,
     6// especially if they share common shader code.
     7technique Foo
    68{
     9    // Multiple passes, with alpha on/off, with various blending methods,
     10    // with depth test disabled...
    711    pass p0
    812    {
     
    3438
    3539        // Ogre crap
     40
     41        // The D3D11 way, but we must make it work with GLSL too
    3642        SetBlendState(AdditiveBlending, float4(0.0f, 0.0f, 0.0f, 0.0f), 0xFFFFFFFF);
    3743        SetDepthStencilState(DisableDepth, 0);
    38 
    39         // D3D11 way
    40         SetBlendState()
    41         SetDepthStencilState()
    4244        SetRasterizerState()
    4345
     
    6365}
    6466
    65 -- GLSL.Vert --
     67/* Defines GLSL shader "Prout" */
     68
     69#section GLSL.Prout
    6670
    6771#version 120
     
    8084}
    8185
     86/* Defines GLSL shader "Zob" */
     87
     88#section GLSL.Zob
     89
     90void main(void)
     91{
     92    shit fuck fuck shit;
     93}
     94
     95/* Defines HLSL shader "Prout" */
     96
     97#section HLSL.Prout
     98
     99void main(void)
     100{
     101    /* Blah */
     102}
     103
Note: See TracChangeset for help on using the changeset viewer.