- Home /
Question by
0xDEADCODE · Feb 21, 2012 at 01:15 AM ·
lightmaprendertexturekeywords
Creating a Screen Space Lightmap Texture
Is there a way to render out a texture with the lightmap data in screen space? I was attempting to do this using replaced shaders to render out only the lightmap data, but as soon as I pass my shader as a replaced shader, Unity automatically toggles specific keywords such as LIGHTMAP_OFF. This of course will break this method. Is there a way to get around this or manually control the keywords?
Comment
Your answer
Follow this Question
Related Questions
Render Textures and Lightmaps 1 Answer
Transparent glsl shader is still opaque in the lightmap. 0 Answers
External lightmap dull when texture added 0 Answers
Lightmaps - performance question 1 Answer
Save lightmap in prefab 3 Answers