Search the Community
Showing results for tags 'color'.
-
- 7 replies
-
- post-process
- rendering
-
(and 8 more)
Tagged with:
-
[SOLVED] Unigine::Image does not reflect file color channel number
sebastian.vesenmayer posted a topic in C++ Programming
Hi, I am using Unigine::Image to load tga files with rgb and rgba channels. The getFormat() does always return rgba8. How do I determine the correct number/format of color channels? Regards Sebastian -
Hi. According to the documentation we can set or add color to the objectdynanmicmesh class. But when I try to set or add color to them I get an error. Here is my code for setting: mesh.setVertex(i++,vec3(x/5.0f,y/5.0f,z)); mesh.setColor (i,vec4(1.0f,1.0f,1.0f,0.0f)); and adding: mesh.addVertex(vec3(x/5.0f,y/5.0f,1)); mesh.addColor(vec4(1.0f,1.0f,1.0f,0.0f)); For both of them error says: "unknown objectmeshdynamic class member". Thanks.
- 4 replies
-
- objectdynamicmesh
- color
-
(and 1 more)
Tagged with:
-
So, we have a few dozen light posts that we'd like to show punching through the fog. To a degree we can get this effect and it may be acceptable. However, the bigger issue is that light always goes white when the fog is dense enough. So, for instance, say there is a festive red light shining brightly. Add some fog and the light turns white. Is there a technique or a shader I'm over looking that would cause the light to be red/reddish instead of reverting to white?
-
Hello together, I attached an example project. If you start the batch, you'll see a TabBox, with a given sprite, that loads a white PNG file and renders it with a given color. If you swap now fast the tab's you'll see, that the color of the sprite swaps to blue/green/yellow and so on, and always render the widget complete from right to left, or left to right whatever, that looks not really "cute" and fine for the consumer. Is there any possibility to manage this problem(s)? Best regards Lars