» 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

~58min ago

joreg: Reminder: This wednesday in #berlin: Getting Started with Data Visualization: https://nodeforum.org/announcements/workshop-getting-started-with-data-visualization/ vvvv #creativecoding #dataviz

~2d ago

joreg: @eglod vvvv is international! wenn du hilfe auf deutsch brauchst, dann komm am besten in unseren deutschen chat: https://riot.im/app/#/room/#vvvv-at:matrix.org

~3d ago

eglod: In allen möglichen Sprachen gibt es VVV. V4 ist deutsch, warum nicht in deutscher Sprache. eglod

~3d ago

eglod: In allen möglichen Sprachen gibt es VVV. V4 ist deutsch, warum nicht in deutscher Sprache. eglod

~4d ago

joreg: Reminder: First #vvvv meetup in #hamburg this friday: vvvv-hamburg-meetup-1 Hope to see some of you there!

~6d ago

AKa-visuals: Hi guys. Everyone guess when xenko engine would be avaliable to play around in vl ... Isnt?

~14d ago

joreg: and right after the intro join us for our second Patching Circle: patching-circle bring your projects and problems and patch along

~14d ago

joreg: Reminder: This thursday: Free #vvvv gamma intro course: free-vvvv-intro-workshops-this-summer-in-berlin