» Effect Compiler Changes
This site relies heavily on Javascript. You should enable it if you want the full experience. Learn more.

Effect Compiler Changes

Since beta26 vvvv uses a new compiler for effects which is more picky (but also considerably faster) than the one used before. So if you have an effect that worked before but now fails to compile with betas>=26 try the following:

  • when using Shader Model 3 make sure to set both vertex- and pixelshader to use this profile:
VertexShader = compile vs_3_0 VS();
PixelShader  = compile ps_3_0 PS();
  • change all references from the type double to float:
float = 3.1415; //was: double = 3.1415;
float2 = 0;     //was: double2 = 0;
  • make sure you don't have functions that have the same name as a technique:
float3 SteinbachScrew
{
 ..
}
 
technique SteinbachScrew
{
 ...
}

this will throw an error unless you rename either of the two. For example it is good style to have the technique Start with a capital 'T':

technique TSteinbachScrew
{
 ...
}
  • make sure to not set (ie. write to) global variables. instead define a new local variable to write to:
float input;
float3 SteinbachScrew
{
 //this will fail 
 input = 0.1; 
 
 //this will work
 input2 = input;
 ..
 input2 = 0.1;
}

anonymous user login

Shoutbox

~7h ago

Urbankind: circuitb:Wrongcop is epic! :)

~7h ago

joreg: @tobi: use GetSlice() as the patch i referred you to is demonstrating. or start a forum thread with your patch.

~8h ago

TobiTobsen123: hmm yes i can see the values...but how to handle them as seperate values? I need to forward them via TCP/IP...

~9h ago

joreg: @tobi: OSCDecoder helppatch has a section: OSC_Advanced (bottomright) that demoes decoding of multiple messages

~9h ago

TobiTobsen123: I'm using an OSCDecoder, it receives two arguments...works but how can I seperate the arguments into two seperate values

~12h ago

u7angel: @mediadog, make it a forum question.

~12h ago

u7angel: @mediadog, tty renderer ?

~14h ago

microdee: however non-conductive objects are invisible for this so the pencil and the sticks in the video are still a mysteries