b3dSetBaseTextureTiling

Enables/disables base texture tiling (WRAP vs CLAMP mode). Takes entityHandle (mesh entity), enable (1 = tile/wrap, 0 = clamp). Returns nothing.

3D Graphics

Parameters & Returns

Parameters

entityHandle Int
enable Int

Returns

Void

Quick Summary

Enables/disables base texture tiling (WRAP vs CLAMP mode). Takes entityHandle (mesh entity), enable (1 = tile/wrap, 0 = clamp). Returns nothing.

Technical Exegesis...

Enables/disables base texture tiling (WRAP vs CLAMP mode). Takes entityHandle (mesh entity), enable (1 = tile/wrap, 0 = clamp). Returns nothing. Sets material.tileBase flag for texture sampling mode.

This function controls texture addressing. Tiling modes: enable=1 (WRAP mode, texture repeats infinitely), enable=0 (CLAMP mode, texture edges stretched), affects base color texture sampling in shader, changes how UVs outside 0-1 range are handled. WRAP mode: UVs outside 0-1 repeat the texture (e.g., UV 2.

Example

Example.bam
; No example implemented yet