Posted August 20, 201312 yr Greetings fellow earthlings, So I have a rather advanced question. I have a custom entity that is like the arrow. Though in my case it is all one color. In my render class I can do a simple GL11.glColor3f(1.0F, 0.0F, 0.0F) to change it all to red from code. (Or if I leave that line out then it defaults to the blank texture map thing I have created.) Thats almost to what I wanted to be able to do. My problem is once I register the entity, I can't think of a way to 're-render' it with a new custom color. I was thinking the best place to change the color would be in the entity's class. I just don't know how. I did think about multiple entities each with a different color, but that would create a lot of entities, and still not get the end effect I wanted of every color possible. Any thoughts?
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.