Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
phoenixbf committed Feb 2, 2025
1 parent 89f6a8b commit beb7b2f
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion public/dist/ATON.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/src/ATON.fx.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ FX.init = ()=>{
// Ambient Occlusion
FX.passes[FX.PASS_AO] = new THREE.SAOPass( ATON._mainRoot, ATON.Nav._camera, CW,CH );
FX.passes[FX.PASS_AO].params.saoBias = 1.0;
FX.passes[FX.PASS_AO].params.saoScale = 100;
FX.passes[FX.PASS_AO].params.saoScale = 100; //100
FX.passes[FX.PASS_AO].params.saoIntensity = 0.2; //0.2 //0.005;
//FX.passes[FX.PASS_AO].params.saoMaxDistance = 0.1;

Expand Down
2 changes: 2 additions & 0 deletions public/src/ATON.js
Original file line number Diff line number Diff line change
Expand Up @@ -625,6 +625,8 @@ ATON.realize = ( bNoRender )=>{
antialias: true, //ATON.device.isMobile? false : true,
alpha: true, // required for AR

//logarithmicDepthBuffer: true, // issues with postfx (SSAO)

//powerPreference: "high-performance",

///pecision: "lowp", //"mediump"
Expand Down
2 changes: 1 addition & 1 deletion public/src/ATON.nav.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ let Nav = {};
// Consts
Nav.STD_FOV = 50.0;
Nav.STD_NEAR = 0.01; //0.05;
Nav.STD_FAR = 800.0; // 1000
Nav.STD_FAR = 1000.0; // 1000

Nav.FP_EPS = 0.01;
Nav.STD_POV_TRANS_DURATION = 2.0;
Expand Down
2 changes: 1 addition & 1 deletion services/views/v2/home.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ window.addEventListener( 'load', ()=>{
</script>
</head>

<body style="padding-top:50px;">
<body style="padding-top:60px;">
<!-- Navbar -->
<%- include('frags/navbar'); %>

Expand Down

0 comments on commit beb7b2f

Please sign in to comment.