remove the now unneeded FL0 materials
Filament needed to compile FL0 materials for both FL0 and FL1, but this is now done automatically when a material is a FL0 material.
This commit is contained in:
committed by
Mathias Agopian
parent
eb3d592d18
commit
e85c021dec
@@ -27,7 +27,7 @@
|
||||
<script src="../gl-matrix-min.js"></script>
|
||||
<script>
|
||||
|
||||
Filament.init(['nonlit_fl0.filamat'], () => {
|
||||
Filament.init(['nonlit.filamat'], () => {
|
||||
window.VertexAttribute = Filament.VertexAttribute;
|
||||
window.AttributeType = Filament.VertexBuffer$AttributeType;
|
||||
window.Projection = Filament.Camera$Projection;
|
||||
@@ -124,7 +124,7 @@
|
||||
|
||||
this.ib.setBuffer(engine, CUBE_INDICES);
|
||||
|
||||
const mat = engine.createMaterial('nonlit_fl0.filamat');
|
||||
const mat = engine.createMaterial('nonlit.filamat');
|
||||
const matinst = mat.getDefaultInstance();
|
||||
Filament.RenderableManager.Builder(1)
|
||||
.boundingBox({ center: [-1, -1, -1], halfExtent: [1, 1, 1] })
|
||||
|
||||
Reference in New Issue
Block a user