Skip to content

Commit a25ac8c

Browse files
committed
Packed Textures & Outlet Cleanup
Adjusted outlet environment instance lod for mobile, rebuilt the textures, and cleaned up some problem spots. Packed GrassCardsA and GrassClusterA's Card
1 parent bafaa1e commit a25ac8c

17 files changed

+23
-22
lines changed

docs/js/pxlNavLoader.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -50,19 +50,19 @@ const loaderPhrases = [
5050
// These can be adjusted from your `pxlRoom` but easily set defaults here
5151
const userSettings = Object.assign({}, pxlUserSettings);
5252
userSettings['height']['standing'] = 22.5; // Standing height in units; any camera in your room's FBX will override this height once loaded
53-
userSettings['height']['stepSize'] = 5; // Max step height in units
53+
userSettings['height']['stepSize'] = 4.5; // Max step height in units
5454
userSettings['movement']['scalar'] = 1.1; // Overall movement rate scalar
55-
userSettings['movement']['max'] = 12.0; // Max movement speed
56-
userSettings['movement']['easing'] = 0.55; // Easing rate between Step() calls
55+
userSettings['movement']['max'] = 10.0; // Max movement speed
56+
userSettings['movement']['easing'] = 0.75; // Easing rate between Step() calls
5757
userSettings['look']['mobile']['invert'] = true; // Invert the look controls on mobile devices
5858
userSettings['headBounce']['height'] = 0.3; // Bounce magnitude in units
59-
userSettings['headBounce']['rate'] = 0.025; // Bounce rate per Step()
59+
userSettings['headBounce']['rate'] = 0.04; // Bounce rate per Step()
6060
userSettings['headBounce']['easeIn'] = 0.03; // When move key is pressed, the ease into bounce; `bounce * ( boundInf + easeIn )`
6161
userSettings['headBounce']['easeOut'] = 0.95; // When move key is let go, the ease back to no bounce; `bounce * easeOut`
62-
userSettings['jump']['impulse'] = 0.625; // Jump impulse force applied to the player while holding the jump button
63-
userSettings['jump']['holdMax'] = 2.65; // Max influence of holding the jump button on current jump; in seconds
62+
userSettings['jump']['impulse'] = 0.75; // Jump impulse force applied to the player while holding the jump button
63+
userSettings['jump']['holdMax'] = 2.5; // Max influence of holding the jump button on current jump; in seconds
6464
userSettings['jump']['repeatDelay'] = 0.085; // Delay between jumps when holding the jump button
65-
userSettings['gravity']['ups'] = 0.30; // Units per Step() per Step()
65+
userSettings['gravity']['ups'] = 0.5; // Units per Step() per Step()
6666
userSettings['gravity']['max'] = 18.5; // Max gravity rate
6767

6868
// -- -- --
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

docs/js/pxlRooms/CampfireEnvironment/CampfireEnvironment.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -789,7 +789,7 @@ export class CampfireEnvironment extends RoomEnvironment{
789789
grassClusterUniforms.intensity.value = this.mobile ? 2.25 : 2.0; // Lower intensity for mobile devices
790790
grassCardsAUniforms.noiseTexture.value = this.pxlUtils.loadTexture( this.assetPath+"Noise_UniformWebbing.jpg" );
791791
grassCardsAUniforms.diffuse.value = this.pxlUtils.loadTexture( this.assetPath+"grassCardsA_diffuse.webp" );
792-
grassCardsAUniforms.alphaMap.value = this.pxlUtils.loadTexture( this.assetPath+"grassCardsA_alpha.jpg" );
792+
grassCardsAUniforms.alphaMap.value = this.pxlUtils.loadTexture( this.assetPath+"grassCardsA_mask.jpg" );
793793

794794

795795
let grassCardSettings = {
@@ -832,8 +832,8 @@ export class CampfireEnvironment extends RoomEnvironment{
832832
}]
833833
)
834834
grassClusterCardsUniforms.noiseTexture.value = this.pxlUtils.loadTexture( this.assetPath+"Noise_UniformWebbing.jpg" );
835-
grassClusterCardsUniforms.rgbMap.value = this.pxlUtils.loadTexture( this.assetPath+"grassClusterA_cards_diffuse.webp", null, {'encoding':SRGBColorSpace} );
836-
grassClusterCardsUniforms.alphaMap.value = this.pxlUtils.loadTexture( this.assetPath+"grassClusterA_cards_mask.jpg" );
835+
grassClusterCardsUniforms.rgbMap.value = this.pxlUtils.loadTexture( this.assetPath+"grassCardsA_diffuse.webp", null, {'encoding':SRGBColorSpace} );
836+
grassClusterCardsUniforms.alphaMap.value = this.pxlUtils.loadTexture( this.assetPath+"grassCardsA_mask.jpg" );
837837

838838
let grassLODSettings = {
839839
'depthScalar': 0.004,
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)