» 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

karistouf: thank you @joreg

~1d ago

joreg: @karistouf: yep, just join us in the chat: https://betadocs.vvvv.org/chat.html

~1d ago

karistouf: @joreg : if you are around is it possible to tchat quickly ? i need a real HELP !!!

~2d ago

karistouf: blocked. i had to copy paste the subpatch to get ride of it. Some bugs surely due that is a Loaded on the fly patch ID.thankyou

~3d ago

sebescudie: @karistouf: CTRL+T ?

~3d ago

karistouf: the reset shortut alt right doenst do it

~3d ago

karistouf: @joreg, i know but i dint see any "revert to normal way " shortcut...

~3d ago

joreg: @karistouf you can find all shortcuts for vvvv beta listed here: https://betadocs.vvvv.org/using-vvvv/the-user-interface/ui-reference.html

~3d ago

karistouf: HAEM.... on beta, how to get ride of of the Always on the top option ?