add textures;
add
-
pbr material add diffuseMap, normalMap, emissionMap, channelRoughnessMetallicMap
implement with TextureArray;
support map with different size; -
TransformRunAPI add "lookAt" api (@callmegaga)
Features
- asset: add loadImages api (9829bf9)
- asset: ignore load image stream's return value (9d34ede)
- cloud-picture: add UpdateTextureArrayCPJobEntity job (584b815)
- cloud-picture: edit glsl: add texture related code; edit UpdatePathTracingCPJobEntity: send texture related code; (f28a8f6)
- cloud-picture: edit shading_data.glsl: change roughnessIntensity to 1.0 (f322a20)
- cloud-picture: fix "if has two render geometries, the second one's tangents sended to vertex buffer is wrong" (f11d923)
- cloud-picture: fix get_hit_shading_data.glsl bug (5561a6f)
- cloud-picture: fix glsl: add gamma correction (eb1feaa)
- cloud-picture: fix glsl: add inv gamma correction for specific color defined in shader (17ed877)
- cloud-picture: fix glsl: fix gamma (e82c0cd)
- cloud-picture: fix glsl:get_hit_shading_data.glsl (d5c5c3e)
- cloud-picture: fix glsl:shading_data.glsl (5b6a134)
- cloud-picture: fix UpdatePathTracingCPJob->_buildAndSetVertexBufferData->compute tangents (64ee72f)
- cloud-picture: fix UpdatePathTracingCPJob->_buildAndSetVertexBufferData->set texCoords (982c5ae)
- cloud-picture: fix UpdateTextureArrayCPJobEntity->_fillImageDataToBufferDataWithFixedSize: use forEach instead of traverseResultM (93d58cc)
- cloud-picture: fix UpdateTextureArrayCPJobEntity->_fillTextureArray: create commandEncoder and submit for each layer (5dcd6ab)
- cloud-picture: fix updateTextureArrayCPJobEntity: if has no used image id, layer count should be 1 instead of 0 (23db231)
- cloud-picture: path tracing->vertex buffer add texCoords, tangents(compute) (f2abb26)
- cloud-picture: rename metalRoughnessMap to channelRoughnessMetallicMap (0f462b8)
- cloud-picture: separate "render" jobs from "update" pipeline to "render" pipeline (f94b925)
- dependency: lookAt (5891d70)
- geometry: add createTriangleGeometry api (3767365)
- geometry: add texCoords (dcd3581)
- geometry: setTexCoords add check: texCoords should in [0.0, 1.0] (5e3932f)
- pbr-material: add setXxxMapSourceId APIs (6b15fba)
- pbr-material: change default diffseColor to (0., 0., 0.) (ac0b57b)
- transform: lookAt (bdc330a)
- webgpu: remove bufferUsage->sampled (882234b)
Performance Improvements
- cloud-picture: optimize UpdateTextureArrayCPJobEntity->_fillImageDataToBufferDataWithFixedSize (f20b336)