前几篇博客,我分别加好了3D移动盒子,也给场景加好了天空盒 这篇博客,就给场景再加一些效果 绘制的水珠的源代码来自Three.JS在GitHub上的demo 小游戏所用到的,修改过的JS库,大家可以移步我之前发的博客下载 直接上代码 let THREE = require('libs/three.js') export default class Game3d { constructor() { this.scene = new THREE.Scene(); this.camera = new
有些效果是用substance的材质,但是材质上的属性无法用平常的Material方法调用,需要ProceduralMaterial去调用, using UnityEngine; using System.Collections; public class TestProceduralMaterial : MonoBehaviour { public GameObject TestCube; public Texture2D tex; public ProceduralMaterial mate