» 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

~17min ago

joreg: vvvvTv S02E01 is out: Buttons & Sliders with Dear ImGui: https://www.youtube.com/live/PuuTilbqd9w

~6d ago

joreg: vvvvTv S02E00 is out: Sensors & Servos with Arduino: https://visualprogramming.net/blog/2024/vvvvtv-is-back-with-season-2/

~7d ago

fleg: hey there! What's the best tool for remote work? Teamviewer feels terrible. Thanks!

~20d ago

joreg: Last call: 6-session vvvv beginner course starting November 4: https://thenodeinstitute.org/courses/ws24-5-vvvv-beginners-part-i/

~1mth ago

joreg: Missed the last meetup? You can rewatch it here: https://www.youtube.com/live/MdvTa58uxB0?si=Fwi-9hHoCmo794Ag

~1mth ago

theurbankind: When is the next big event, like node festival ?

~1mth ago

~1mth ago

joreg: Join us for the next vvvv meetup on Oktober 17th: https://visualprogramming.net/blog/2024/25.-vvvv-worldwide-meetup/

~1mth ago

joreg: 6 session beginner course part 2 "Deep Dive" starts January 13th: https://thenodeinstitute.org/courses/ws24-5-vvvv-beginners-part-ii/