- Home /
Question by
ThisGuyThatsHere · Jun 17, 2017 at 05:53 PM ·
shadervertex shaderambient lightgeometry shader
Ambient lighting in vertex shader?
Hey, so I have a geometry shader and I have to use target 4.0, which makes some examples not work as expected because target 4.0 doesn't support methods used in them, and I have no idea how to sample skybox.
Simply said, how do I sample skybox with target 4.0 or higher?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612124353im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Screen shaders that alter geometry at runtime or through camera 1 Answer
vertex and geometry shader change with distance 0 Answers
Can I unpack normal / tangent / uv information in the vertex function in a surface shader? 1 Answer
Post processing vertex distortion effect 0 Answers
Problem when combining Vertex Displacement + Outlines 0 Answers