Not logged inOpenClonk Forum
Up Topic Colored lights

This board is threaded (i.e. has a tree structure). Please use the Reply button of the specific post you are referring to, not just any random button. If you want to reply to the topic in general, use the Post button near the top and bottom of the page.

Post Reply
In Response to Marky
For now I added the following: Coordinate transformation: line 2*y contains the light information, line 2*y + 1 contains the color information. The access in the shader seems to be wrong though. Where does lightCoord in the shader script come from?

Also I wanted to save a default white light into the texture at the moment. I do not understand how the OpenGL stuff works yet, so I am just guessing stuff. See here for the code that should add the default color to the line 2*y + 1.

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill