更新
This commit is contained in:
1 parent
5cd551a08e
commit
40cde540d6
33 files changed
+547
-319
No files matched your search
@@ -1,9 +1,13 @@
|
||||
---
|
||||
title: egret3d 用视频video做纹理贴图
|
||||
tags: []
|
||||
id: '267'
|
||||
categories:
|
||||
- - 分享
|
||||
- 分享
|
||||
tags:
|
||||
- egret
|
||||
- video
|
||||
- 纹理贴图
|
||||
- Texture
|
||||
date: 2018-01-29 17:50:02
|
||||
---
|
||||
|
||||
@@ -11,7 +15,8 @@ date: 2018-01-29 17:50:02
|
||||
|
||||
思路也很简单,创建一个立方体,然后把立方的纹理设置成一个视频video,主要代码如下
|
||||
|
||||
```
|
||||
```
|
||||
|
||||
public createGameScene() {
|
||||
|
||||
this.createVideoTexture();
|
||||
@@ -57,4 +62,4 @@ date: 2018-01-29 17:50:02
|
||||
|
||||
效果->[传送门](https://demo.dengtongyu.com/pages/videocude/)
|
||||
|
||||

|
||||

|
||||
Reference in new issue
Block a user