Skip to content

Commit

Permalink
fixed dynamic plugins build; clang fixes; cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
nem0 committed Sep 25, 2024
1 parent 89ee5d4 commit 7d8a2d8
Show file tree
Hide file tree
Showing 15 changed files with 191 additions and 285 deletions.
1 change: 0 additions & 1 deletion data/pipelines/standard.hlsl
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ Surface getSurface(VSOutput input) {
data.alpha = saturate(data.alpha - input.fur_layer);
#endif


data.roughness = sampleBindless(LinearSampler, t_roughness, uv).g * u_roughness;
#ifdef HAS_METALLICMAP
data.metallic = sampleBindless(LinearSampler, t_metallic, uv).b * u_metallic;
Expand Down
19 changes: 19 additions & 0 deletions scripts/download_physx.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
@echo off

REM This script downloads the PhysX source code from the official repository
REM GENie automatically detects PhysX source code and uses it instead of the prebuilt version

setlocal
set dir_3rdparty_src="..\external\_repos\"

pushd %~dp0
if not exist %dir_3rdparty_src% mkdir %dir_3rdparty_src%
pushd %dir_3rdparty_src%
if not exist physx (
git.exe clone --depth=1 https://github.com/nem0/PhysX.git physx
) else (
cd physx
git pull
)
popd
popd
Loading

0 comments on commit 7d8a2d8

Please sign in to comment.