Jump to content
  • Advertisement
Sign in to follow this  
dAND3h

SAS Scripting - LoopByCount

This topic is 2060 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I am trying to make a pass loop using SAS scripting in FX composer. It doesn't want to work. The error is:

"Error This CgFX effect uses a LoopByCount which is not supported: LoopByCount=gIterationsPerFrame. The loop structure will be ignored and enclosed commands will be executed once"


It seems odd seeing as I am not using CgFX but HLSL. Is it still possible to loop using SAS scripting?

p.s. I am using FX composer to write and test the shader.

Share this post


Link to post
Share on other sites
Advertisement

float gIterationsPerFrame
<string UIName = "Kawase Iterations";
string UIWidget = "slider";
float UIMin = 0;
float UIMax = 100;
float UIStep = 1;
> = 10;

It is being assigned a number > 0. Does HLSL maybe not support this aspect of the SAS scripting? Edited by dAND3h

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!