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

Update to UE 5.3 + relative path to USH files #1

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
78 changes: 78 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
# Visual Studio 2015 user specific files
.vs/

# Compiled Object files
*.slo
*.lo
*.o
*.obj

# Precompiled Headers
*.gch
*.pch

# Compiled Dynamic libraries
*.so
*.dylib
*.dll

# Fortran module files
*.mod

# Compiled Static libraries
*.lai
*.la
*.a
*.lib

# Executables
*.exe
*.out
*.app
*.ipa

# These project files can be generated by the engine
# *.sln
*.xcodeproj
*.xcworkspace
*.suo
*.opensdf
*.sdf
*.VC.db
*.VC.opendb
*.pdb

# Precompiled Assets
SourceArt/**/*.png
SourceArt/**/*.tga

# Binary Files
# Binaries/*
# Plugins/*/Binaries/*

# Builds
Build/*

# Whitelist PakBlacklist-<BuildConfiguration>.txt files
!Build/*/
Build/*/**
!Build/*/PakBlacklist*.txt
!Intermediate/Build/BuildRules/*
!Plugins/ShaderDirectory/*

# Don't ignore icon files in Build
!Build/**/*.ico

# Built data for maps
*_BuiltData.uasset

# Configuration files generated by the Editor
Saved/*
Content/Developers/*

# Compiled source files for the engine to use
Intermediate/*
Plugins/*/Intermediate/*

# Cache files for the editor to use
DerivedDataCache/*
13 changes: 13 additions & 0 deletions .vsconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"version": "1.0",
"components": [
"Microsoft.Net.Component.4.6.2.TargetingPack",
"Microsoft.VisualStudio.Component.VC.14.34.17.4.x86.x64",
"Microsoft.VisualStudio.Component.VC.Tools.x86.x64",
"Microsoft.VisualStudio.Component.Windows10SDK",
"Microsoft.VisualStudio.Workload.CoreEditor",
"Microsoft.VisualStudio.Workload.ManagedDesktop",
"Microsoft.VisualStudio.Workload.NativeDesktop",
"Microsoft.VisualStudio.Workload.NativeGame"
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@

#define LENGTH 256
#define BUTTERFLY_COUNT 8
#define PI 3.1415926
//#define THREADGROUP_SIZE 256

void GetButterflyValues(uint passIndex,uint x, out uint2 indices, out float2 weights)
{
Expand All @@ -28,7 +30,7 @@ void GetButterflyValues(uint passIndex,uint x, out uint2 indices, out float2 wei
int halfSectionOffset=x&(halfSectionWidth-1);
int sectionOffset=x&(sectionWidth-1);

sincos(2.0* PI*sectionOffset/(float)sectionWidth,weights.y,weights.x);
sincos(2.0*PI*sectionOffset/(float)sectionWidth,weights.y,weights.x);
weights.y=-weights.y;

indices.x=sectionStartOffset+halfSectionOffset;
Expand Down
Loading