KITASENJU DESIGN BLOG

memo, html, javascript, unity

Entries from 2021-09-22 to 1 day

how to access _MainTex_ST

How to get tile/offset information about texture in the surface shader? - Unity Forum Shader "Custom/ST access" { Properties { _MainTex ("Albedo (RGB)", 2D) = "white" {} } SubShader { Tags { "RenderType"="Opaque" } CGPROGRAM #pragma surfac…

"FOOTER"