11128
October 8, 2021, 8:14am
1
hi
i surfing to forum and find this
https://www.babylonjs-playground.com/#L76FB1#47
so i make this in vscode then i will be other system, design practice …etc…
but is it not work in vscode
error code is it
this var waterMaterial = new MAT.WaterMaterial(“waterMaterial”, scene, new BABYLON.Vector2(512,512));
and i check this error
resource nothing so i find this but i not find ,git, forum reddit, google,
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory(require("babylonjs"));
else if(typeof define === 'function' && define.amd)
define("babylonjs-materials", ["babylonjs"], factory);
else if(typeof exports === 'object')
exports["babylonjs-materials"] = factory(require("babylonjs"));
else
root["MATERIALS"] = factory(root["BABYLON"]);
})((typeof self !== "undefined" ? self : typeof global !== "undefined" ? global : this), function(__WEBPACK_EXTERNAL_MODULE_babylonjs_Misc_decorators__) {
return /******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
This file has been truncated. show original
→ just 488 lines is all… anybody help me?
import →
Vinc3r
October 8, 2021, 9:16am
2
11128:
resource nothing so i find this but i not find ,git, forum reddit, google,
Here you have: https://github.com/BabylonJS/Babylon.js/tree/master/materialsLibrary/src/water
1 Like
11128
October 8, 2021, 9:20am
3
yes i find this
Hi all!
I try to mix the “Water” and “Raycast on Height Map” samples to let the Sphere float on water surface but seem that this surface do not change its vertices positions like in height map!
Look at the PG https://www.babylonjs-playground.com/#L76FB1#47
Somebody know a way to achieve this behavior?
thanks you for your reply and i Succeed this