» 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

~1d ago

joreg: Workshop on 02 05: Intro to the Stride 3D Engine. Signup here: https://thenodeinstitute.org/courses/ss24-vvvv-intro-to-the-stride-3d-engine-in-vvvv/

~2d ago

joreg: The new vvvv Show-Off-Reel is out: https://vimeo.com/930568091

~8d ago

joreg: The summer season of vvvv workshops at The NODE Institute is out: https://thenodeinstitute.org/ss24-vvvv-intermediates/

~8d ago

domj: If you happen to be in Prague, come join us at the Schema workshop on Thursday 25.4. :) https://www.facebook.com/events/395516526614988/?ti=ls

~20d ago

joreg: Postponed: Next vvvv beginner course starting April 29: https://thenodeinstitute.org/courses/vvvv-beginner-class-summer-2024/