mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-30 19:21:54 +00:00
add credit (#2802)
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
/*
|
||||||
|
Taken from: https://github.com/gkjohnson/threejs-sandbox/tree/master/conditional-lines
|
||||||
|
under MIT license
|
||||||
|
*/
|
||||||
import { Color, ShaderLib, ShaderMaterial, UniformsUtils } from 'three'
|
import { Color, ShaderLib, ShaderMaterial, UniformsUtils } from 'three'
|
||||||
|
|
||||||
export class ColoredShadowMaterial extends ShaderMaterial {
|
export class ColoredShadowMaterial extends ShaderMaterial {
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
/*
|
||||||
|
Taken from: https://github.com/gkjohnson/threejs-sandbox/tree/master/conditional-lines
|
||||||
|
under MIT license
|
||||||
|
*/
|
||||||
import { BufferAttribute, BufferGeometry, Triangle, Vector3 } from 'three'
|
import { BufferAttribute, BufferGeometry, Triangle, Vector3 } from 'three'
|
||||||
|
|
||||||
const vec0 = new Vector3()
|
const vec0 = new Vector3()
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
/*
|
||||||
|
Taken from: https://github.com/gkjohnson/threejs-sandbox/tree/master/conditional-lines
|
||||||
|
under MIT license
|
||||||
|
*/
|
||||||
import { Color } from 'three'
|
import { Color } from 'three'
|
||||||
|
|
||||||
export const ConditionalEdgesShader = {
|
export const ConditionalEdgesShader = {
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
/*
|
||||||
|
Taken from: https://github.com/gkjohnson/threejs-sandbox/tree/master/conditional-lines
|
||||||
|
under MIT license
|
||||||
|
*/
|
||||||
import { ShaderMaterial, UniformsLib, UniformsUtils, Vector2 } from 'three'
|
import { ShaderMaterial, UniformsLib, UniformsUtils, Vector2 } from 'three'
|
||||||
import { LineMaterial } from 'three/examples/jsm/lines/LineMaterial'
|
import { LineMaterial } from 'three/examples/jsm/lines/LineMaterial'
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
/*
|
||||||
|
Taken from: https://github.com/gkjohnson/threejs-sandbox/tree/master/conditional-lines
|
||||||
|
under MIT license
|
||||||
|
*/
|
||||||
import * as THREE from 'three'
|
import * as THREE from 'three'
|
||||||
import { LineSegmentsGeometry } from 'three/examples/jsm/lines/LineSegmentsGeometry.js'
|
import { LineSegmentsGeometry } from 'three/examples/jsm/lines/LineSegmentsGeometry.js'
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
/*
|
||||||
|
Taken from: https://github.com/gkjohnson/threejs-sandbox/tree/master/conditional-lines
|
||||||
|
under MIT license
|
||||||
|
*/
|
||||||
import { BufferAttribute, BufferGeometry, Vector3 } from 'three'
|
import { BufferAttribute, BufferGeometry, Vector3 } from 'three'
|
||||||
|
|
||||||
const vec = new Vector3()
|
const vec = new Vector3()
|
||||||
|
|||||||
Reference in New Issue
Block a user