Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

star_mod_renderer

Package Overview
Dependencies
Maintainers
1
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

star_mod_renderer - npm Package Compare versions

Comparing version 1.0.19 to 1.0.20

11

helper/modelHelper/model.js

@@ -10,2 +10,4 @@ import * as THREE from 'three';

model = null;
emissiveMap = null;
emissiveIntensityMap = null; // 二者不能共存,有 emissiveMap 时,emissiveIntensityMap 不生效

@@ -141,4 +143,5 @@ constructor(model) {

material.metalnessMap = texture.ormeTexture; // b
// TODO: 扩充 material 字段 emissiveIntensityMap 字段,增加渲染公式与对应逻辑获取
material.emissiveMap = texture.ormeTexture; // a
if (!this.emissiveMap) {
material.emissiveIntensityMap = texture.ormeTexture; // a
}
}

@@ -148,4 +151,6 @@

if (texture.emissiveTexture) {
material.emissiveIntensityMap = null;
this.emissiveMap = texture.emissiveTexture;
material.emissiveMap = texture.emissiveTexture;
material.emissive = new THREE.Color(0xffffff);
material.emissiveMap = texture.emissiveTexture;
}

@@ -152,0 +157,0 @@

{
"name": "star_mod_renderer",
"version": "1.0.19",
"version": "1.0.20",
"description": "star mod project render auxiliary ",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc