- Messages
- 172
Hi All
Getting into P3d V4.
I am trying to be clever with shader variables through PTA tool. PTA's own explanation of shader variables and expressions is a bit thin. I can not find in the SDK where the variables may be listed and explained.
Simple example from PTA
(saturate(1.0 - cb_Altitude/2438))
As PTA explain, this changes the saturation level above 2438m, but changes from what to what? Does the minus mean above or below the variable? Sometimes it is a plus symbol. Not sure how and when to use which.
Anybody know where it is hidden in the SDK learning centre, if there at all? I am assuming it's part of the P3D system, and not PTA specific.
Cheers
Graeme
Getting into P3d V4.
I am trying to be clever with shader variables through PTA tool. PTA's own explanation of shader variables and expressions is a bit thin. I can not find in the SDK where the variables may be listed and explained.
Simple example from PTA
(saturate(1.0 - cb_Altitude/2438))
As PTA explain, this changes the saturation level above 2438m, but changes from what to what? Does the minus mean above or below the variable? Sometimes it is a plus symbol. Not sure how and when to use which.
Anybody know where it is hidden in the SDK learning centre, if there at all? I am assuming it's part of the P3D system, and not PTA specific.
Cheers
Graeme
