Comments (2)
You're right, this line will be a problem for any glTF viewers besides Cesium. In Cesium czm_sunDirectionEC
is a built-in uniform that is automatically compiled with the shader. Alternatively, the default light could be positioned at the camera's location, similar to COLLADA2GLTF.
from gltf-pipeline.
Alternatively, the default light could be positioned at the camera's location, similar to COLLADA2GLTF.
We should go with this. A Cesium-specific pipeline can add czm_sunDirectionEC
if needed. This is just a carry-over since this code came from Cesium.
from gltf-pipeline.
Related Issues (20)
- Simple GLTF won't compress HOT 2
- Consider disambiguating resource names HOT 2
- TypeError: uint8Array.subarray is not a function at getStringFromTypedArray
- gltf-pipeline command and script producing errors while runtime HOT 2
- Special characters in filenames cause incorrect operation
- Very poor compression performance HOT 2
- RuntimeError: memory access out of bounds HOT 2
- 'Error: Failed adding attribute _FEATURE_ID_0' HOT 11
- Hope to support compressing GLTF files with image URIs as HTTP addresses into GLB format
- I used draco(-d) compression, why put my custom data to the loss. There are two files in the attachment that have not been compressed. The customized data in 100.glb still exists after compression, but the customized data in 102.glb is lost. HOT 4
- Unpin `mime` and update to v4 or latest
- Use webp encode texture HOT 1
- error:failed adding attribute TEXCOORD_0 HOT 2
- Reverse lightweight file internship HOT 1
- Converting to binary file with library
- Update `forEachTextureInMaterial` to account for extension textures
- Draco Compression Issue with EXT_instance_features and EXT_mesh_gpu_instancing Extensions HOT 2
- Error: Draco encoding failed. HOT 1
- The version of gltf-pipeline for nodejs10.14.0
- Command to uncompress KTX2 Textures
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gltf-pipeline.