Recommended Posts

I've had FSX since it came out and all the predecessors to it. Using Win7 Prof here with tons of add-ons collected over the years. Since I have fully implemented you DX10 Scenery Fixer, my frame rates at 50% better and my simulator has never looked so good nor ran so well. Thank you, Steve, for this wonderful experience.

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

can't miss another chance myself to thank SteveFX for doing the job of a thousand developers and bringing it all together in his NO.1 FSX TOOL. 

Share this post


Link to post
Share on other sites

while we're at it, question for you, SteveFx :wink:
 
Is there anything worth experimenting with among these lines in FSX\ShadersHLSL\Common\Common.fxh?

#define D3DCMP_LESSEQUAL 4
#define D3DTADDRESS_WRAP 1

#define MAX_BONES  22

#define MAX_POINT_LIGHTS 5

#define D3DTEXF_NONE          0
#define D3DTEXF_POINT         1
#define D3DTEXF_LINEAR        2
#define D3DTEXF_ANISOTROPIC   3
#define D3DTEXF_PYRAMIDALQUAD 6
#define D3DTEXF_GAUSSIANQUAD  7

bool  State_AlphaBlendEnable         : STATE_ALPHABLENDENABLE         = false;
bool  State_ShadowAlphaBlendEnable   : STATE_SHADOWALPHABLENDENABLE   = false;
bool  State_TextureAlphaBlendEnable  : STATE_TEXTUREALPHABLENDENABLE  = false;
bool  State_FallbackAlphaBlendEnable : STATE_FALLBACKALPHABLENDENABLE = false;
bool  State_FogEnable                : STATE_FOGENABLE                = true;
bool  State_ZWriteEnable             : STATE_ZWRITEENABLE             = true;
dword State_ColorWriteEnable         : STATE_COLORWRITEENABLE;
dword State_ZFunc                    : STATE_ZFUNC                    = D3DCMP_LESSEQUAL;
bool  State_SpecularEnable           : STATE_SPECULARENABLE           = false;
bool  State_StencilEnable            : STATE_STENCILENABLE            = false;
dword State_TextureWrap              : STATE_TEXTUREWRAP              = D3DTADDRESS_WRAP;
dword State_MinFilter                : STATE_MINFILTER                = D3DTEXF_LINEAR;
dword State_MagFilter                : STATE_MAGFILTER                = D3DTEXF_LINEAR;
dword State_MipFilter                : STATE_MIPFILTER                = D3DTEXF_LINEAR;
dword State_MipMapLodBias            : STATE_MIPMAPLODBIAS            = 0;
dword State_SrcBlend                 : STATE_SRCBLEND                 = 2;
dword State_DstBlend                 : STATE_DSTBLEND                 = 1;
dword State_CullMode                 : STATE_CULLMODE                 = 3;
bool  State_AlphaTestEnable          : STATE_ALPHATESTENABLE          = false;
dword State_AlphaTestFunction        : STATE_ALPHATESTFUNCTION        = D3DCMP_LESSEQUAL;
dword State_AlphaTestThreshold       : STATE_ALPHATESTTHRESHOLDBYTE   = 255;
float State_FinalAlphaBlendFactor    : STATE_FINALALPHABLENDFACTOR    = 1.0;
float State_BlendedEmissiveFactor    : STATE_BLENDEDEMISSIVEFACTOR    = 1.0;
float4 State_BlendConstant           : STATE_BLENDCONSTANT;

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this