Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IIntersectableWithRay #8

Closed
wants to merge 41 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
64d38b7
[Build] Force .NET version so that NuGet doesn't get upgraded behind …
xen2 Mar 11, 2021
c5d2f29
[Reflection] Give the deps.json file a higher priority when loading a…
azeno Jun 8, 2021
8361b19
[Targets] MSBuild MakeRelative doesn't include trailing \ anymore (ht…
xen2 Jun 8, 2021
a9c79f0
[Prerequisites] Switch Visual Studio actions to a Ignore/Retry/Cancel…
xen2 Jun 8, 2021
49b284b
[Reflection] Loads mixed-mode assemblies containing fixups from file …
azeno Jun 8, 2021
a2c03b2
[Input] fixes PointerPoint.Id always being 0
joreg Jun 9, 2021
6912898
[Graphics] Fixes restriction of fromData of SetData if Texture. The s…
tebjan Jun 15, 2021
a84f4a6
[Build] Fix build with .NET SDK 5.0.300+
xen2 Jun 24, 2021
3d25292
[Build] Couple of changes to get build running on latest VS (16.10.3)
azeno Jul 2, 2021
0f0d86e
[Graphics] Disposes the constant buffers allocated by an effect instance
azeno Jun 29, 2021
e00f864
Added outline post fx.
herocrab Mar 31, 2021
23f670b
Updates for PR, contributors and curly braces.
herocrab Apr 6, 2021
9de2bbd
Removed reference to Silicon Studio.
herocrab Apr 6, 2021
bc826cf
Added fog postfx.
herocrab Mar 31, 2021
0623195
Updated for PR, stride contributors and curly braces.
herocrab Apr 6, 2021
9450848
Add ACES (#1037)
D3ZAX Mar 28, 2021
c0222ff
[Rendering] Fixes shader key of FogEffect.sdsl
tebjan Jun 24, 2021
015e91f
[Rendering] Fixes engine crash with error in effect files
tebjan Jun 24, 2021
d485fe6
Merge pull request #1091 from vvvv/dev/tebjan/backport-outline-fog
xen2 Aug 9, 2021
bd43f31
[Build] Switched to .NET Foundation code signing certs
xen2 Aug 20, 2021
516bf0e
[Build] Sign all packages (NuGet.org doesn't accept non signed packag…
xen2 Sep 1, 2021
4069203
[Engine] Fixes null exception in InstancingProcessor when no ModelCom…
tebjan Sep 13, 2021
51b490f
[Backport] Android platform fixes
MeharDT Sep 17, 2021
60f1b9f
[Templates] Properly set the TargetFramework and RuntimeFramework fro…
xen2 Oct 1, 2021
98f02a4
[Backport ]DebugText Color Fix (#1157)
MeharDT Oct 1, 2021
679b86c
Fixes AO hash function for random angle for high display resolutions.
tebjan Oct 18, 2021
2828637
Fixes index out of bounds when reporting variable name ambiguity in s…
azeno Oct 20, 2021
2887398
Merge pull request #1172 from stride3d/dev/azeno/index-out-of-bounds-fix
tebjan Oct 20, 2021
25710ee
Fixes a dead lock in the effect system
azeno Oct 20, 2021
4812318
[Rendering] Sets the ShaderResource texture flag for the depth buffer…
tebjan Oct 27, 2021
a6b6005
Merge pull request #1174 from vvvv/dev/tebjan/fix-rendertexture-postfx
tebjan Oct 27, 2021
3e84113
Camera preview depth buffer created with ShaderResource flag
johang88 Oct 3, 2021
529a780
[Rendering] Fix AmbientOcclusion in orthographic mode (#1142)
tebjan Nov 15, 2021
9251297
[Graphics] Saving an image with an unsupported format will throw an e…
azeno Dec 9, 2021
c71494f
[Build] Use ##teamcity message rather than TeamCitySetBuildNumber (do…
xen2 Dec 13, 2021
e4123f1
[Materials] Fixes render stage evaluation if the transparency of a ma…
tebjan Mar 5, 2022
a177b9a
[Rendering] Fixes crash when changing DoF quality at runtime. (#1350)
tebjan Mar 11, 2022
fcad51f
[Rendering] Fixes null exception on first frame. #1343
tebjan Mar 25, 2022
610cc3a
Merge pull request #1377 from stride3d/dev/tebjan/fix-for-pr-1343
tebjan Mar 25, 2022
5ded784
Update the Visual Studio Extension and the companion installer to onl…
jrinker03 Mar 29, 2022
e57ae5c
Merge pull request #1393 from jrinker03/VsPackage40
tebjan Mar 29, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 34 additions & 6 deletions build/Stride.build
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ Example of use:
<Target Name="PrerequisitesInstaller">
<Delete Files="$(StrideRoot)Bin\Prerequisites\install-prerequisites.exe"/>
<Exec Command='"$(AdvancedInstallerPath)" /rebuild "$(StrideRoot)sources\prerequisites\prerequisites.aip"'/>
<!-- Note: this exe will be signed as part of GameStudio.nupkg -->
</Target>

<!--
Expand All @@ -72,7 +73,7 @@ Example of use:
<!-- Remove Samples.Templates (we use -SkipDuplicate since version is rarely bumped) -->
<NuGetPackage Remove="@(NuGetPackage)" Condition="$([System.String]::Copy('%(Filename)').Contains('Stride.Samples.Templates'))"/>
</ItemGroup>
<Exec Command='"$(NuGetPath)" push %(NuGetPackage.Identity) -ApiKey $(StrideStoreApiKey) -Source $(StrideStoreUrl) -Timeout 1800 -NoSymbols'/>
<Exec Command='"$(NuGetPath)" push %(NuGetPackage.Identity) -ApiKey $(StrideStoreApiKey) -Source $(StrideStoreUrl) -Timeout 1800 -NoSymbols -SkipDuplicate'/>
<Exec Command='"$(NuGetPath)" push ..\bin\packages\Stride.Samples.Templates*.nupkg -ApiKey $(StrideStoreApiKey) -Source $(StrideStoreUrl) -Timeout 1800 -NoSymbols -SkipDuplicate'/>
<!-- Push GameStudio so that dependencies are already uploaded -->
<Exec Command='"$(NuGetPath)" push ..\bin\packages\Stride.GameStudio*.nupkg -ApiKey $(StrideStoreApiKey) -Source $(StrideStoreUrl) -Timeout 1800 -NoSymbols'/>
Expand Down Expand Up @@ -117,12 +118,12 @@ Example of use:
</GenerateVersionFile>

<Message Text="Done preparing build for version $(StridePackageVersion)"/>
<TeamCitySetBuildNumber BuildNumber="$(StridePackageVersion)" Condition="'$(TEAMCITY_BUILD_PROPERTIES_FILE)' != '' " />
<Message Text="##teamcity[buildNumber '$(StridePackageVersion)']" Importance="High" Condition="'$(TEAMCITY_BUILD_PROPERTIES_FILE)' != '' " />
</Target>
<PropertyGroup>
<_StridePackageTargetPrerequisitesInstaller Condition="'$(StrideBuildPrerequisitesInstaller)' == 'true'">PrerequisitesInstaller</_StridePackageTargetPrerequisitesInstaller>
</PropertyGroup>
<Target Name="Package" DependsOnTargets="PreparePackageBuild;$(_StridePackageTargetPrerequisitesInstaller);Build;VSIXPlugin"/>
<Target Name="Package" DependsOnTargets="PreparePackageBuild;$(_StridePackageTargetPrerequisitesInstaller);Build;SignPackage;VSIXPlugin"/>

<Target Name="RestoreInternal">
<MSBuild Targets="Restore" Projects="$(StrideSolution).sln" Properties="StrideGraphicsApiDependentBuildAll=$(StrideGraphicsApiDependentBuildAll);StrideGraphicsApis=$(StrideGraphicsApis);StridePlatforms=$(StridePlatforms)" />
Expand Down Expand Up @@ -438,15 +439,21 @@ Example of use:

<!-- Generate the nuget package for the launcher application -->
<Exec Command='"$(NuGetPath)" pack "$(StrideRoot)sources\launcher\Stride.Launcher\Stride.Launcher.nuspec" -BasePath "$(StrideRoot)sources\launcher\Stride.Launcher\bin\Release\publish" -OutputDirectory "$(StrideRoot)bin\launcher"' />

<Exec Condition="'$(StrideSign)' == 'true'" Command='sign\SignClient sign -c "sign\appsettings.json" --input "..\bin\launcher\*.nupkg" --name "Stride" --user "$(StrideSignUser)" --secret "$(StrideSignSecret)"' EchoOff="true" />
</Target>

<!--
Package Installer: StrideSetup.exe
-->
<Target Name="PackageInstallerSimple" DependsOnTargets="PackageLauncher">
<Target Name="PackageInstallerSimple" DependsOnTargets="PackageLauncher;DownloadSignClient;SignCredentialsCheck">
<Delete Files="$(StrideRoot)bin\launcher\StrideSetup.exe"/>
<!-- Run advanced installer -->
<Exec Command='"$(AdvancedInstallerPath)" /rebuild "$(StrideRoot)sources\launcher\Setup\setup.aip"'/>

<Message Importance="high" Text="Signing installer"/>
<Exec Condition="'$(StrideSign)' == 'true'" Command='sign\SignClient sign -c "sign\appsettings.json" --input "..\sources\launcher\Setup\setup-SetupFiles\StrideSetup.exe" --name "Stride" --user "$(StrideSignUser)" --secret "$(StrideSignSecret)"' EchoOff="true" />

<Copy SourceFiles="$(StrideRoot)sources\launcher\Setup\setup-SetupFiles\StrideSetup.exe" DestinationFolder="$(StrideRoot)bin\launcher"/>
</Target>
<Target Name="PackageInstallerCustom" DependsOnTargets="PackageLauncher">
Expand Down Expand Up @@ -490,8 +497,11 @@ Example of use:
<!--
Package Installer: launcher-prerequisites.exe
-->
<Target Name="LauncherPrerequisitesInstaller">
<Target Name="LauncherPrerequisitesInstaller" DependsOnTargets="DownloadSignClient;SignCredentialsCheck">
<Exec Command='"$(AdvancedInstallerPath)" /rebuild "$(StrideRoot)sources\launcher\Prerequisites\launcher-prerequisites.aip"'/>

<Message Importance="high" Text="Signing launcher prerequisites"/>
<Exec Condition="'$(StrideSign)' == 'true'" Command='sign\SignClient sign -c "sign\appsettings.json" --input "..\sources\launcher\Prerequisites\*.exe" --name "Stride" --user "$(StrideSignUser)" --secret "$(StrideSignSecret)"' EchoOff="true" />
</Target>

<!--
Expand All @@ -510,12 +520,30 @@ Example of use:
<Exec Command='"$(NuGetPath)" push ..\bin\launcher\*.nupkg -ApiKey $(StrideStoreApiKey) -Source $(StrideStoreUrl) -NoSymbols'/>
</Target>

<Target Name="BuildLauncher">
<Target Name="BuildLauncher" DependsOnTargets="DownloadSignClient;SignCredentialsCheck">
<PropertyGroup>
<StrideSolution>Stride.Launcher</StrideSolution>
</PropertyGroup>
<MSBuild Targets="Restore" Projects="$(MSBuildThisFileFullPath)" Properties="StridePlatforms=Windows;StrideSolution=$(StrideSolution)"/>
<MSBuild Projects="..\sources\launcher\Stride.Launcher\Stride.Launcher.csproj" Targets="Publish" Properties="$(BuildProperties);PublishProfile=FolderProfile;SolutionName=Stride.Launcher" />

<Message Importance="high" Text="Signing launcher"/>
<Exec Condition="'$(StrideSign)' == 'true'" Command='sign\SignClient sign -c "sign\appsettings.json" --input "..\sources\launcher\Stride.Launcher\bin\Release\publish\*.exe" --name "Stride" --user "$(StrideSignUser)" --secret "$(StrideSignSecret)"' EchoOff="true" />
</Target>

<Target Name="DownloadSignClient" Condition="'$(StrideSign)' == 'true'">
<Exec Command="dotnet tool install SignClient --tool-path sign" Condition="!Exists('sign\SignClient.exe')" />
</Target>

<Target Name="SignCredentialsCheck" Condition="'$(StrideSign)' == 'true'">
<Error Condition="'$(StrideSignUser)' == ''" Text="StrideSignUser is not set. Please set StrideSign to false if you don't want to sign using code certificates." />
<Error Condition="'$(StrideSignSecret)' == ''" Text="StrideSignSecret is not set. Please set StrideSign to false if you don't want to sign using code certificates." />
</Target>

<Target Name="SignPackage" DependsOnTargets="DownloadSignClient;SignCredentialsCheck" Condition="'$(StrideSign)' == 'true'">
<!-- nupkg containing executables to sign -->
<Message Importance="high" Text="Signing packages"/>
<Exec Command='sign\SignClient sign -c "sign\appsettings.json" --input "..\bin\packages\*.nupkg" --name "Stride" --user "$(StrideSignUser)" --secret "$(StrideSignSecret)" -f "sign\nupkgfilter.txt"' EchoOff="true" />
</Target>

</Project>
2 changes: 2 additions & 0 deletions build/sign/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/.store/
/SignClient.exe
13 changes: 13 additions & 0 deletions build/sign/appsettings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"SignClient": {
"AzureAd": {
"AADInstance": "https://login.microsoftonline.com/",
"ClientId": "c248d68a-ba6f-4aa9-8a68-71fe872063f8",
"TenantId": "16076fdc-fcc1-4a15-b1ca-32c9a255900e"
},
"Service": {
"Url": "https://codesign.dotnetfoundation.org/",
"ResourceId": "https://SignService/3c30251f-36f3-490b-a955-520addb85001"
}
}
}
3 changes: 3 additions & 0 deletions build/sign/nupkgfilter.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
**/Stride*.exe
**/packageinstall.exe
**/*-prerequisites.exe
2 changes: 1 addition & 1 deletion sources/assets/Stride.Core.Assets.CompilerApp/global.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"sdk": {
"version": "5.0.100",
"rollForward": "latestFeature",
"rollForward": "latestPatch",
"allowPrerelease": false
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Build" Version="16.0.461" ExcludeAssets="runtime" />
<PackageReference Include="Microsoft.Build.Locator" Version="1.2.6" />
<PackageReference Include="Microsoft.Build.Locator" Version="1.4.1" />
<PackageReference Include="Microsoft.Build.Utilities.Core" Version="16.0.461" ExcludeAssets="runtime" />
<!-- Needed by MSBuild to function properly with .NET Core (when creating CreateAppHost task) -->
<PackageReference Include="Microsoft.NET.HostModel" Version="3.1.5" />
Expand Down
39 changes: 25 additions & 14 deletions sources/core/Stride.Core.Design/Reflection/AssemblyContainer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -141,19 +141,8 @@ private Assembly LoadAssemblyByName([NotNull] AssemblyName assemblyName, [NotNul
return matchingAssembly.Assembly;
}

// Look in search paths
var assemblyPartialPathList = new List<string>();
assemblyPartialPathList.AddRange(KnownAssemblyExtensions.Select(knownExtension => assemblyName.Name + knownExtension));
foreach (var assemblyPartialPath in assemblyPartialPathList)
{
var assemblyFullPath = Path.Combine(searchDirectory, assemblyPartialPath);
if (File.Exists(assemblyFullPath))
{
return LoadAssemblyFromPathInternal(assemblyFullPath);
}
}

// Use .deps.json files
// Second, use .deps.json files (generated by MSBuild when PreserveCompilationContext == true)
// It ensures that we load the same assemblies as were used while compiling
foreach (var loadedAssembly in loadedAssemblies)
{
var dependencies = loadedAssembly.Dependencies;
Expand All @@ -166,6 +155,18 @@ private Assembly LoadAssemblyByName([NotNull] AssemblyName assemblyName, [NotNul
}
}

// Look in search paths
var assemblyPartialPathList = new List<string>();
assemblyPartialPathList.AddRange(KnownAssemblyExtensions.Select(knownExtension => assemblyName.Name + knownExtension));
foreach (var assemblyPartialPath in assemblyPartialPathList)
{
var assemblyFullPath = Path.Combine(searchDirectory, assemblyPartialPath);
if (File.Exists(assemblyFullPath))
{
return LoadAssemblyFromPathInternal(assemblyFullPath);
}
}

// See if it was registered
lock (dependencies)
{
Expand Down Expand Up @@ -299,7 +300,17 @@ private Assembly LoadAssemblyFromPathInternal([NotNull] string assemblyFullPath)
}

// TODO: Is using AppDomain would provide more opportunities for unloading?
assembly = pdbBytes != null ? Assembly.Load(assemblyBytes, pdbBytes) : Assembly.Load(assemblyBytes);
const uint unverifiableExecutableWithFixups = 0x80131019;
try
{
assembly = pdbBytes != null ? Assembly.Load(assemblyBytes, pdbBytes) : Assembly.Load(assemblyBytes);
}
catch (FileLoadException fileLoadException)
when ((uint)fileLoadException.HResult == unverifiableExecutableWithFixups)
{
// No way to load from byte array (see https://stackoverflow.com/questions/5005409/exception-with-resolving-assemblies-attempt-to-load-an-unverifiable-executable)
assembly = Assembly.LoadFrom(assemblyFullPath);
}
loadedAssembly = new LoadedAssembly(this, assemblyFullPath, assembly, dependenciesMapping);
loadedAssemblies.Add(loadedAssembly);
loadedAssembliesByName.Add(assemblyFullPath, loadedAssembly);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ public IDEInfo(Version version, string displayName, string installationPath, boo
public enum VSIXInstallerVersion
{
None,
VS2019AndFutureVersions,
VS2019,
VS2022AndFutureVersions,
}

public static class VisualStudioVersions
Expand Down Expand Up @@ -110,7 +111,7 @@ private static List<IDEInfo> BuildIDEInfos()
{
var ideInfos = new List<IDEInfo>();

// Visual Studio 15.0 (2017) and later
// Visual Studio 16.0 (2019) and later
try
{
var configuration = new SetupConfiguration();
Expand All @@ -133,7 +134,7 @@ private static List<IDEInfo> BuildIDEInfos()

// Only deal with VS2019+
if (!Version.TryParse(inst2.GetInstallationVersion(), out var version)
|| version.Major < 15)
|| version.Major < 16)
continue;

var installationPath = inst2.GetInstallationPath();
Expand Down Expand Up @@ -186,7 +187,7 @@ private static List<IDEInfo> BuildIDEInfos()
{
BuildToolsPath = buildToolsPath,
DevenvPath = devenvPath,
VsixInstallerVersion = VSIXInstallerVersion.VS2019AndFutureVersions,
VsixInstallerVersion = version.Major == 16 ? VSIXInstallerVersion.VS2019 : VSIXInstallerVersion.VS2022AndFutureVersions,
VsixInstallerPath = vsixInstallerPath,
};

Expand Down
2 changes: 1 addition & 1 deletion sources/core/Stride.Core.Tasks/Stride.Core.Tasks.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<HintPath>..\..\..\deps\libgit2\LibGit2Sharp.dll</HintPath>
</Reference>
<PackageReference Include="Microsoft.Build" Version="16.0.461" ExcludeAssets="runtime" />
<PackageReference Include="Microsoft.Build.Locator" Version="1.2.6" />
<PackageReference Include="Microsoft.Build.Locator" Version="1.4.1" />
<PackageReference Include="Microsoft.Build.Utilities.Core" Version="16.0.461" ExcludeAssets="runtime" />
<PackageReference Include="Microsoft.VisualStudio.Setup.Configuration.Interop" Version="2.3.2262-g94fae01e">
<EmbedInteropTypes>True</EmbedInteropTypes>
Expand Down
25 changes: 16 additions & 9 deletions sources/core/Stride.Core/PlatformFolders.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ public static string ApplicationDataSubDirectory

set
{
if (virtualFileSystemInitialized)
throw new InvalidOperationException("ApplicationDataSubDirectory cannot be modified after the VirtualFileSystem has been initialized.");
if (virtualFileSystemInitialized)
throw new InvalidOperationException("ApplicationDataSubDirectory cannot be modified after the VirtualFileSystem has been initialized.");

applicationDataSubDirectory = value;
}
}
Expand Down Expand Up @@ -152,7 +152,9 @@ private static string GetApplicationCacheDirectory()

private static string GetApplicationExecutablePath()
{
#if STRIDE_PLATFORM_WINDOWS_DESKTOP || STRIDE_PLATFORM_MONO_MOBILE || STRIDE_PLATFORM_UNIX
#if STRIDE_PLATFORM_ANDROID
return PlatformAndroid.Context.PackageCodePath;
#elif STRIDE_PLATFORM_DESKTOP || STRIDE_PLATFORM_MONO_MOBILE || STRIDE_PLATFORM_UNIX
return Assembly.GetEntryAssembly()?.Location;
#else
return null;
Expand Down Expand Up @@ -182,22 +184,27 @@ private static string GetApplicationTemporaryDirectory()
[NotNull]
private static string GetApplicationBinaryDirectory()
{
return FindCoreAssemblyDirectory(GetApplicationExecutableDiretory());
var executablePath = GetApplicationExecutableDirectory();
#if STRIDE_PLATFORM_ANDROID
return executablePath;
#else
return FindCoreAssemblyDirectory(executablePath);
#endif
}

private static string GetApplicationExecutableDiretory()
private static string GetApplicationExecutableDirectory()
{
#if STRIDE_PLATFORM_WINDOWS_DESKTOP || STRIDE_PLATFORM_MONO_MOBILE || STRIDE_PLATFORM_UNIX
var executableName = GetApplicationExecutablePath();
if (!string.IsNullOrEmpty(executableName))
{
return Path.GetDirectoryName(executableName);
}
#if STRIDE_RUNTIME_CORECLR
#if STRIDE_RUNTIME_CORECLR
return AppContext.BaseDirectory;
#else
#else
return AppDomain.CurrentDomain.BaseDirectory;
#endif
#endif
#elif STRIDE_PLATFORM_UWP
return Windows.ApplicationModel.Package.Current.InstalledLocation.Path;
#else
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,12 @@ protected override void DrawCore(RenderContext context, RenderDrawContext drawCo

// Allocate a RT for the incrust
GeneratedIncrust = drawContext.GraphicsContext.Allocator.GetTemporaryTexture2D(TextureDescription.New2D((int)Viewport.Width, (int)Viewport.Height, 1, drawContext.CommandList.RenderTarget.Format, TextureFlags.ShaderResource | TextureFlags.RenderTarget));
var depthBuffer = drawContext.CommandList.DepthStencilBuffer != null ? drawContext.GraphicsContext.Allocator.GetTemporaryTexture2D(TextureDescription.New2D((int)Viewport.Width, (int)Viewport.Height, 1, drawContext.CommandList.DepthStencilBuffer.Format, TextureFlags.DepthStencil)) : null;

var depthBufferTextureFlags = TextureFlags.DepthStencil;
if (context.GraphicsDevice.Features.HasDepthAsSRV)
depthBufferTextureFlags |= TextureFlags.ShaderResource;

var depthBuffer = drawContext.CommandList.DepthStencilBuffer != null ? drawContext.GraphicsContext.Allocator.GetTemporaryTexture2D(TextureDescription.New2D((int)Viewport.Width, (int)Viewport.Height, 1, drawContext.CommandList.DepthStencilBuffer.Format, depthBufferTextureFlags)) : null;

// Push and set render target
using (drawContext.PushRenderTargetsAndRestore())
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---
---
!EffectCompileRequest
EffectName: StrideForwardShadingEffect.ShadowMapCaster
UsedParameters:
Expand Down Expand Up @@ -1268,6 +1268,7 @@ UsedParameters:
EffectName: AmbientOcclusionRawAOEffect
UsedParameters:
AmbientOcclusionRawAO.Count: 13
AmbientOcclusionRawAO.IsOrthographic: false
---
!EffectCompileRequest
EffectName: AmbientOcclusionBlurEffect
Expand All @@ -1276,6 +1277,7 @@ UsedParameters:
AmbientOcclusionBlur.Count: 5
AmbientOcclusionBlur.BlurScale: 1.85
AmbientOcclusionBlur.EdgeSharpness: 3.0
AmbientOcclusionBlur.IsOrthographic: false
---
!EffectCompileRequest
EffectName: AmbientOcclusionBlurEffect
Expand All @@ -1284,6 +1286,7 @@ UsedParameters:
AmbientOcclusionBlur.Count: 5
AmbientOcclusionBlur.BlurScale: 1.85
AmbientOcclusionBlur.EdgeSharpness: 3.0
AmbientOcclusionBlur.IsOrthographic: false
---
!EffectCompileRequest
EffectName: ApplyAmbientOcclusionShader
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -979,6 +979,7 @@ UsedParameters:
EffectName: AmbientOcclusionRawAOEffect
UsedParameters:
AmbientOcclusionRawAO.Count: 13
AmbientOcclusionRawAO.IsOrthographic: false
---
!EffectCompileRequest
EffectName: AmbientOcclusionBlurEffect
Expand All @@ -987,6 +988,7 @@ UsedParameters:
AmbientOcclusionBlur.Count: 5
AmbientOcclusionBlur.BlurScale: 1.85
AmbientOcclusionBlur.EdgeSharpness: 3.0
AmbientOcclusionBlur.IsOrthographic: false
---
!EffectCompileRequest
EffectName: AmbientOcclusionBlurEffect
Expand All @@ -995,6 +997,7 @@ UsedParameters:
AmbientOcclusionBlur.Count: 5
AmbientOcclusionBlur.BlurScale: 1.85
AmbientOcclusionBlur.EdgeSharpness: 3.0
AmbientOcclusionBlur.IsOrthographic: false
---
!EffectCompileRequest
EffectName: ApplyAmbientOcclusionShader
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ Files:
- {Source: Properties\AssemblyInfo.cs.t4, Target: Properties\AssemblyInfo.cs, IsTemplate: true}
- {Source: Properties\AndroidManifest.xml.t4, Target: Properties\AndroidManifest.xml, IsTemplate: true}
- {Source: Resources\drawable\GameIcon120.png, Target: Resources\drawable\Icon.png }
- {Source: Resources\Resource.Designer.cs.t4, Target: Resources\Resource.Designer.cs, IsTemplate: true }
Loading