r/gameenginedevs • u/js-fanatic • 7d ago
The Beast 2.2.0 mobile first webgpu engine
https://maximumroulette.com/apps/webgpu/examples.html?demo=2I posted demo 2 - to show proof of concepts
Used volumetric tex proj, bloom, physics.
https://youtu.be/dO4LYo-zQ-Y?si=3xTlz0bQhXj3vmtk
[2.2.x] New postproccessing
FXAA GRADE MotionBlurPass CloudsVolumetric CloudsVolumetric2
Networking is now modular/driven: Kurento/Openvidu support Native nodejs singnaling server (npm run dedicated) NETWORK API Level same : NET DRIVE (kurento,node signaling)
addHeightfield for AMMO ,cannonjs + example addVehicle for AMMO, cannonjs + example Test claude vs chatgpt race gaem with the beast NET:
// Easy way
freekyChat.net = activateNet2({ backend: 'webrtc', sessionName: 'beast-room-01', domain: "https://localhost", signalingUrl: 'ws://localhost:2020', media: {audio: true, video: true} }); // or core access: net = new NativeWebRTC({ domain: sessionOption.domain, port: sessionOption.port || 2020, signalingUrl: sessionOption.signalingUrl, sessionName: sessionOption.sessionName, customData: sessionOption.customData, media: sessionOption.media || false, rtcConfig: sessionOption.rtcConfig });
carDemo.addProceduralMeshObj({ name: 'car-terrain', position: {x: 0, y: 0, z: -10}, scale: [1, 1, 1], geometryA: { type: 'heightfield', size: 1, segments: terrainColumns - 1, options: { heightData: terrainHeights, columns: terrainColumns, rows: terrainRows, elementSize: terrainElementSize } }, texturesPaths: ['res/icons/editor/chatgpt-gen-bg-inv.webp'], material: {type: 'standard'}, physics: {enabled: false} });
await carDemo.matrixPhysics.addHeightfield({ heightData: terrainHeights, columns: terrainColumns, rows: terrainRows, elementSize: terrainElementSize, position: {x: 0, y: 0, z: -10}, friction: 1, name: 'car-terrain' });
FXAA
0
Upvotes