Hi there!
I can’t find a way to change the scale of the diffuse material for the lava material (https://playground.babylonjs.com/#1BLVWO#22 ).
There’s this parameter but it doesn’t do anything:
this.scaledDiffuse = new babylonjs_Misc_decorators__WEBPACK_IMPORTED_MODULE_1 "Color3" ;
From (Line 605)
(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_Materials_effect__) {
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
Any clue?
Do you mean the uScale and vScale properties?
https://playground.babylonjs.com/#1BLVWO#142
i don’t know, any parameters to adjust the size of the texture (either the whole thing, or independently as there are a diffuse texture and a noise texture).
on my current object it tiles as 4x4 and I’m stuck with that
sorry, i missed your playground link. you got it!
i didn’t know about these parameters.
many thanks !