-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Improved shadow performance * Many effects can now work at full resolution * Fix and improve a bunch of things * Better upsampling of reflections and SSGI * Fixed some more issues * More fixes * More fixes * Fixed async ray tracing update issues * Fixed broken matrix decomposition for negative scales * Fixed upsampling issue + made hot shader reload asynchronous * Fixed volumetric cloud flickering * Added reactive mask generation * Fix for wind map issue * Extended visualization options and bug fixes * Try cascaded DDGI * Works now + discrete steps * Many adjustments to cascaded GI * Fixed most of the remaining cascaded DDGI issues * Smaller adjustments * Better wind * Small improvements * Added scene statistics panel * Improved CPU performance * Many more fixes + UI improvements * Scripting adjustments * Small changes to save half resolution to JSON * More CPU perf improvements with multithreading * Make better use of bindless resources and reduce CPU bindings * Improved GPU ray tracing performance and stability * Some fixes/improvements for MacOS * Some more fixes to get the headless mode to work again * More fixes * Fix bunch of code style issues * More code style fixes * Try something else * More tries * Check some more failure cases * Better ocean * More fixes * Updated JoltPhysics and added lua bindings for physics * More scripting improvements * Reordered lua bindings for faster compile times * Try to improve compilation times * Script properties can now be set properly * Fixed the build issues * Fixed many more issues * Fixed a few more DDGI issues * Permanent playing option for audio components * Fixed a vertex buffer binding issue * Fixed multi-config CMake generator issue + improved MacOS CPU rendering performance * Upgraded several dependencies * More package changes * Build pipeline changes * Fixed the Windows compilation issue * Try again * try again * Trying out RTGI * Important fixes to RTGI * Instance masking for raytracing and upscaling improvements * Fixed some editor issues * Improved cloud temporal accumulation * Added async content discovery * Preparations for greater rework * Working on model importer improvements * Initial working version with new mesh import/loading/saving * More changes * Some fixes * Pipeline configs moved to mesh data + more stuff * More adjustments * Bit of an incomplete texture and material selection * Fixed some UI issues * Should fix build issues * Added a proper job system * Fixed compilation issue * More job system fixes * More fixes * More improvements * Fix current build issues * More fixes * Environment maps can now be used + bug fixes * Possible delete of resource in editor * Fixed a number of things * Fixed even more issues * More stuff * Atmosphere shader changes * Performance improvements * Even more improvements * Fixed a few more things * Fixed more bugs
- Loading branch information
Showing
480 changed files
with
10,530 additions
and
3,956 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ on: | |
release_version: | ||
description: 'Release version' | ||
required: true | ||
default: '0.1.0' | ||
default: '0.2.0' | ||
|
||
env: | ||
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) | ||
|
@@ -31,7 +31,7 @@ jobs: | |
uses: friendlyanon/setup-vcpkg@v1 | ||
# Committish: The commit sha of the vcpkg repo, same as in vcpkg.json | ||
with: | ||
committish: 5786fcb0cb5eb08d1931a230dad9701e7a6c37f0 | ||
committish: 821100d967e1737d96414a308e3f7cbe0d1abf18 | ||
|
||
- name: Delete MSVC tool version | ||
shell: pwsh | ||
|
@@ -109,7 +109,7 @@ jobs: | |
uses: friendlyanon/setup-vcpkg@v1 | ||
# Committish: The commit sha of the vcpkg repo, same as in vcpkg.json | ||
with: | ||
committish: 5786fcb0cb5eb08d1931a230dad9701e7a6c37f0 | ||
committish: 821100d967e1737d96414a308e3f7cbe0d1abf18 | ||
|
||
- name: Setup Ninja | ||
uses: ashutoshvarma/setup-ninja@master | ||
|
@@ -159,11 +159,80 @@ jobs: | |
${{ github.workspace }}/bin/**/*.so* | ||
!**/CMakeFiles | ||
macos-build: | ||
runs-on: macos-13 | ||
name: Build on MacOS | ||
# Run both builds in parallel and don't cancel if one fails | ||
strategy: | ||
matrix: | ||
build-type: [Release] | ||
fail-fast: false | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup Vcpkg | ||
uses: friendlyanon/setup-vcpkg@v1 | ||
# Committish: The commit sha of the vcpkg repo, same as in vcpkg.json | ||
with: | ||
committish: 821100d967e1737d96414a308e3f7cbe0d1abf18 | ||
cache: ${{ env.USE_CACHE }} | ||
|
||
- name: Setup Ninja | ||
uses: ashutoshvarma/setup-ninja@master | ||
with: | ||
# ninja version to download. Default: 1.10.0 | ||
version: 1.10.0 | ||
|
||
- name: Install Vulkan SDK | ||
uses: humbletim/[email protected] | ||
with: | ||
version: 1.3.261.1 | ||
cache: true | ||
|
||
- name: Run scripts | ||
shell: bash | ||
# Add additional scripting steps here | ||
run: | | ||
cd ${{ github.workspace }} | ||
brew install pkg-config | ||
${{ github.workspace }}/vcpkg/vcpkg install --clean-after-build --triplet=x64-osx | ||
rm -r vcpkg_installed | ||
# https://github.com/marketplace/actions/setup-ninja | ||
- name: Build ${{ matrix.build-type }} configuration with CMake | ||
uses: ashutoshvarma/action-cmake-build@master | ||
with: | ||
build-dir: ${{ github.workspace }}/build/${{ matrix.build-type }} | ||
source-dir: ${{ github.workspace }} | ||
cc: "clang" | ||
cxx: "clang++" | ||
configure-options: -DCMAKE_TOOLCHAIN_FILE='${{ github.workspace }}/vcpkg/scripts/buildsystems/vcpkg.cmake' | ||
-DATLAS_DEMO=ON -DATLAS_TESTS=OFF -DATLAS_EDITOR=ON -G Ninja | ||
parallel: 16 | ||
build-type: ${{ matrix.build-type }} | ||
|
||
- name: Upload artifact | ||
if: ${{ matrix.build-type == 'Release' }} | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: Atlas Engine MacOS ${{ matrix.build-type }} | ||
path: | | ||
data | ||
README.md | ||
LICENSE.md | ||
THIRDPARTY.md | ||
${{ github.workspace }}/bin/**/AtlasEngineDemo | ||
${{ github.workspace }}/bin/**/AtlasEngineEditor | ||
${{ github.workspace }}/bin/**/*.dylib* | ||
!**/CMakeFiles | ||
release: | ||
runs-on: ubuntu-latest | ||
name: Create a new release | ||
environment: release | ||
needs: [windows-build, linux-build] | ||
needs: [windows-build, linux-build, macos-build] | ||
|
||
steps: | ||
- name: Download artifacts | ||
|
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
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 @@ | ||
{"ao":1.0,"baseColor":{"x":1.0,"y":1.0,"z":1.0},"displacementScale":0.009999999776482582,"emissiveColor":{"x":0.0,"y":0.0,"z":0.0},"emissiveIntensity":1.0,"metalness":0.0,"name":"CapsuleMaterial","normalScale":0.5,"opacity":1.0,"reflectance":0.5,"roughness":0.20175451040267944,"tiling":1.0,"transmissiveColor":{"x":0.0,"y":0.0,"z":0.0},"twoSided":true,"uvChannel":0,"vertexColors":false} |
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 @@ | ||
{"ao":1.0,"baseColor":{"x":0.800000011920929,"y":0.800000011920929,"z":0.800000011920929},"displacementScale":0.009999999776482582,"emissiveColor":{"x":0.007193333003669977,"y":0.007193333003669977,"z":0.007193333003669977},"emissiveIntensity":1.0,"metalness":1.0,"name":"Chrome","normalScale":0.5,"opacity":1.0,"reflectance":0.5,"roughness":0.0,"tiling":1.0,"transmissiveColor":{"x":0.0,"y":0.0,"z":0.0},"twoSided":true,"uvChannel":0,"vertexColors":false} |
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 @@ | ||
{"ao":1.0,"baseColor":{"x":0.800000011920929,"y":0.800000011920929,"z":0.800000011920929},"displacementScale":0.009999999776482582,"emissiveColor":{"x":0.0,"y":0.0,"z":0.0},"emissiveIntensity":1.0,"metalness":1.0,"name":"Material.001","normalScale":0.5,"opacity":1.0,"reflectance":0.5,"roughness":0.5,"tiling":1.0,"transmissiveColor":{"x":0.0,"y":0.0,"z":0.0},"twoSided":true,"uvChannel":0,"vertexColors":false} |
Binary file not shown.
Binary file not shown.
Binary file not shown.
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 @@ | ||
{"camera":{"aspectRatio":2.0,"exposure":1.0,"farPlane":400.0,"fieldOfView":45.0,"isMain":true,"location":{"x":0.0,"y":1.7000000476837158,"z":0.0},"nearPlane":1.0,"rotation":{"x":0.0,"y":0.0},"thirdPerson":false,"thirdPersonDistance":15.0,"useEntityRotation":false,"useEntityTranslation":true},"id":7720,"name":{"name":"FirstPersonCameraPlayer"},"player":{"allowInput":true,"creationSettings":{"shape":{"capsuleShapeSettings":{"density":1.0,"height":1.2000000476837158,"radius":0.30000001192092896,"scale":{"x":1.0,"y":1.0,"z":1.0}}}},"fastVelocity":4.0,"jumpVelocity":4.0,"slowVelocity":1.600000023841858},"script":{"permanentExecution":false,"resourcePath":"scripts/firstPersonCamera.lua"},"transform":{"isStatic":false,"matrix":{"j0":{"w":0.0,"x":1.0,"y":0.0,"z":0.0},"j1":{"w":0.0,"x":0.0,"y":1.0,"z":0.0},"j2":{"w":0.0,"x":0.0,"y":0.0,"z":1.0},"j3":{"w":1.0,"x":0.0,"y":0.0,"z":0.0}}}} |
Large diffs are not rendered by default.
Oops, something went wrong.
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,27 @@ | ||
-- This is a comment | ||
|
||
function Update(delta) | ||
|
||
-- Only update the player rotation if there is input | ||
local playerInput = (Atlas.KeyboardMap.IsKeyPressed(Atlas.Keycode.KeyW, true) or | ||
Atlas.KeyboardMap.IsKeyPressed(Atlas.Keycode.KeyA, true) or | ||
Atlas.KeyboardMap.IsKeyPressed(Atlas.Keycode.KeyS, true) or | ||
Atlas.KeyboardMap.IsKeyPressed(Atlas.Keycode.KeyD, true)) | ||
|
||
if playerInput ~= true then | ||
return | ||
end | ||
|
||
local entity = GetThisEntity() | ||
local scene = GetThisScene() | ||
|
||
local camera = entity:GetCameraComponent() | ||
local transform = entity:GetTransformComponent() | ||
local player = entity:GetPlayerComponent() | ||
|
||
local rotationMatrix = Glm.Rotate(Glm.Mat4(1.0), camera.rotation.x, Glm.Vec3(0.0, 1.0, 0.0)) | ||
local recomposed = Atlas.MatrixDecomposition(rotationMatrix) | ||
|
||
player:SetRotation(Glm.Quat(recomposed.rotation)) | ||
|
||
end |
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,42 @@ | ||
-- This is a comment | ||
|
||
ScriptProperties = { | ||
rotationAxis = { type = "integer", value = 0 }, | ||
rotationSpeed = { type = "double", value = 1.0 } | ||
} | ||
|
||
totalRotation = 0.0 | ||
|
||
function Update(delta) | ||
|
||
local entity = GetThisEntity() | ||
local scene = GetThisScene() | ||
|
||
transform = entity:GetTransformComponent() | ||
|
||
if transform == nil then | ||
return | ||
end | ||
|
||
local decomp = transform:Decompose() | ||
|
||
local offset = Atlas.Clock.GetDelta() * ScriptProperties.rotationSpeed.value | ||
totalRotation = totalRotation + offset | ||
|
||
local rotationVec = Glm.Vec3(0.0) | ||
if ScriptProperties.rotationAxis.value == 0 then | ||
rotationVec.x = 1.0 | ||
end | ||
if ScriptProperties.rotationAxis.value == 1 then | ||
rotationVec.y = 1.0 | ||
end | ||
if ScriptProperties.rotationAxis.value == 2 then | ||
rotationVec.z = 1.0 | ||
end | ||
|
||
local updateMatrix = Glm.Rotate(transform.matrix, offset, rotationVec) | ||
|
||
local matrix = decomp:Compose() | ||
transform:Set(updateMatrix) | ||
|
||
end |
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
Oops, something went wrong.