Search Issue Tracker
Not Reproducible
Votes
0
Found in
Issue ID
1058813
Regression
No
[LWRP] UV Set for LW shader
SRP Repo: Issue #1534
What happened?
I cannot find the UV Set setting for LW Shaders. Is it possible to have Animated Scrolling texture in LW?
Which package (Shader graph, LW, HDRP, Core...)?
LW
Unity template or github source code?
Unity template
Which package version or branch (1.1.8-preview, 2.0.0-preview, 2018.1, 2018.1-experiment, 2108.2...)?
2.0.3-preview
Unity version, operating system, target platform (standalone windows, mac, iOS, PS4...)?
Android, iOS
phi-lira commented 14 days ago
Yes, it's possible. You need to define constants such as _MainTex_ST in your shader. This is required for the batcher to cache this Constant Buffer across many frames and reduce drawcall cost.
You can copy what you need from InputSurfacePBR.hlsl or InputSurfaceSimple.hsls.
Let me know if this works for you.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Warning of an unknown Script missing is logged when selecting VFX in Play Mode
- Vertical and horizontal scrollbars appear and disappear when dragging an attribute to a different position within the Shader Graph Hierarchy
- AudioSource.PlayDelayed() does not work with Audio Random Containers
- Compatible with the VFX Graph Shader Graph can't be dragged and dropped into the "Output" block from the Project window
- [Silicon] Freeze/crash on BrotliDecoderDecompressStream when using System.IO.Compression.BrotliDecoder.TryDecompress
Add comment