forked from BonneCW/GD3D11
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
-Patch dx7 functions that do window transitions -Add additional check for waterfall foam in G1 to avoid false positives -Rewrite cinema scope and screen fade effects into native GD3D11 functions
- Loading branch information
1 parent
bd1be6c
commit 0294c99
Showing
15 changed files
with
331 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
//-------------------------------------------------------------------------------------- | ||
// Cinema Scope Buffer | ||
//-------------------------------------------------------------------------------------- | ||
cbuffer AlphaBlendInfo : register( b0 ) | ||
{ | ||
float AB_Alpha; | ||
float3 AB_Color; | ||
}; | ||
|
||
//-------------------------------------------------------------------------------------- | ||
// Input / Output structures | ||
//-------------------------------------------------------------------------------------- | ||
struct PS_INPUT | ||
{ | ||
float2 vTexcoord : TEXCOORD0; | ||
float3 vEyeRay : TEXCOORD1; | ||
float4 vPosition : SV_POSITION; | ||
}; | ||
|
||
//-------------------------------------------------------------------------------------- | ||
// Pixel Shader | ||
//-------------------------------------------------------------------------------------- | ||
float4 PSMain( PS_INPUT Input ) : SV_TARGET | ||
{ | ||
return float4(AB_Color, AB_Alpha); | ||
} |
Oops, something went wrong.