- Home /
Is it possible to pass scene color to Sample Texture 2D LOD (URP, Shader Graph)?
I have 3d model of tree with opaque material that takes scene color from my pre-rendered background. This way it looks beautiful and I'm also getting oclussion and correct lighting+shadows. Now I want to move tree (by manipulating vertex position) but I don't want to pick new scene color for moved vertices. As far as I understand Sample Texture 2D LOD node passes color before moving vertices so this would solve problem - preserving texture from "static" view on tree movement - but I have no clue how to glue these nodes.
If there's any different solution I'll be happy to explore it.
Your answer
![](https://koobas.hobune.stream/wayback/20220613042245im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How to access vertex color in a code-based URP shader? 1 Answer
Shader Graph and Exposure issues 0 Answers
Text Mesh Pro rendering inside fog on URP 0 Answers
URP Blit Render Feature not rendering in Single Pass Instanced VR 0 Answers
I would like to know how to make a tessellation shader with LightWeightRenderPipline(Unity2018.2.13) 0 Answers