« Textures (constantes) » : différence entre les versions
(Page créée avec « ===Modes de cartographie=== ===Modes d'emballement=== ===Filtres d'agrandissement=== ===Filtres de réduction=== ===Types=== ===Formats=== ===Formats de compression des te... ») |
|||
(Une version intermédiaire par le même utilisateur non affichée) | |||
Ligne 1 : | Ligne 1 : | ||
===Modes de cartographie=== | ===Modes de cartographie=== | ||
===Modes | <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=== | ===Filtres d'agrandissement=== | ||
<source lang="javascript"> | |||
THREE.NearestFilter | |||
THREE.LinearFilter | |||
</source> | |||
===Filtres de réduction=== | ===Filtres de réduction=== | ||
<source lang="javascript"> | |||
THREE.NearestFilter | |||
THREE.NearestMipMapNearestFilter | |||
THREE.NearestMipMapLinearFilter | |||
THREE.LinearFilter | |||
THREE.LinearMipMapNearestFilter | |||
THREE.LinearMipMapLinearFilter | |||
</source> | |||
===Types=== | ===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=== | ===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 === | ===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=== | === 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=== | ===Format de compression de texture ETC=== | ||
<source lang="javascript"> | |||
THREE.RGB_ETC1_Format | |||
</source> | |||
===Encodage=== | ===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> |
Dernière version du 19 février 2018 à 01: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>