« Textures (constantes) » : différence entre les versions

De OSWiki
Aller à la navigation Aller à la recherche
Aucun résumé des modifications
 
Ligne 10 : Ligne 10 :
THREE.CubeUVRefractionMapping
THREE.CubeUVRefractionMapping
</source>
</source>
===Modes d'emballement===
===Modes de recouvrement===
<source lang="javascript">
<source lang="javascript">
THREE.RepeatWrapping
THREE.RepeatWrapping
Ligne 16 : Ligne 16 :
THREE.MirroredRepeatWrapping
THREE.MirroredRepeatWrapping
</source>
</source>
===Filtres d'agrandissement===
===Filtres d'agrandissement===
<source lang="javascript">
<source lang="javascript">

Dernière version du 19 février 2018 à 02:14

Modes de cartographie

<source lang="javascript"> THREE.UVMapping THREE.CubeReflectionMapping THREE.CubeRefractionMapping THREE.EquirectangularReflectionMapping THREE.EquirectangularRefractionMapping THREE.SphericalReflectionMapping THREE.CubeUVReflectionMapping THREE.CubeUVRefractionMapping </source>

Modes de recouvrement

<source lang="javascript"> THREE.RepeatWrapping THREE.ClampToEdgeWrapping THREE.MirroredRepeatWrapping </source>

Filtres d'agrandissement

<source lang="javascript"> THREE.NearestFilter THREE.LinearFilter </source>

Filtres de réduction

<source lang="javascript"> THREE.NearestFilter THREE.NearestMipMapNearestFilter THREE.NearestMipMapLinearFilter THREE.LinearFilter THREE.LinearMipMapNearestFilter THREE.LinearMipMapLinearFilter </source>

Types

<source lang="javascript"> THREE.UnsignedByteType THREE.ByteType THREE.ShortType THREE.UnsignedShortType THREE.IntType THREE.UnsignedIntType THREE.FloatType THREE.HalfFloatType THREE.UnsignedShort4444Type THREE.UnsignedShort5551Type THREE.UnsignedShort565Type THREE.UnsignedInt248Type </source>

Formats

<source lang="javascript"> THREE.AlphaFormat THREE.RGBFormat THREE.RGBAFormat THREE.LuminanceFormat THREE.LuminanceAlphaFormat THREE.RGBEFormat THREE.DepthFormat THREE.DepthStencilFormat </source>

Formats de compression des texture DDS / ST3C

<source lang="javascript"> THREE.RGB_S3TC_DXT1_Format THREE.RGBA_S3TC_DXT1_Format THREE.RGBA_S3TC_DXT3_Format THREE.RGBA_S3TC_DXT5_Format </source>

Formats de compression de texture PVRTC

<source lang="javascript"> THREE.RGB_PVRTC_4BPPV1_Format THREE.RGB_PVRTC_2BPPV1_Format THREE.RGBA_PVRTC_4BPPV1_Format THREE.RGBA_PVRTC_2BPPV1_Format </source>

Format de compression de texture ETC

<source lang="javascript"> THREE.RGB_ETC1_Format </source>

Encodage

<source lang="javascript"> THREE.LinearEncoding THREE.sRGBEncoding THREE.GammaEncoding THREE.RGBEEncoding THREE.LogLuvEncoding THREE.RGBM7Encoding THREE.RGBM16Encoding THREE.RGBDEncoding THREE.BasicDepthPacking THREE.RGBADepthPacking </source>