#shaders
1 messages · Page 1 of 1 (latest)
Base Color is the color a surface gives you when you shine a light on it
So it wouldn't actually emit light by itself.
Emission is color that the surface inherently always produces
regardless of lighting
i think i don't really understand what emission color is
i thought it was something to use
for example
making a green object glow red
you set emission to red and main color to green and it glows red kind of thing
suppose an object has a base color of red and an emission color of very faint green
is it related to light?
In the dark, the object will be dark green
There is no light shining on it, so its base color doesn't matter
Its emission color is constant, so you see a little green
In dim white light, it'll be orange or yellow
you get some red from the base color, and you always have some green
In bright white light, it'll be red
with a tiny tinge of green, since that's still always present
oh
Glow is not strictly caused by emission
so i can't have different colors for bloom in the first place
Bloom simulates what happens when light "leaks" from extremely part brights of an image
behind the scenes, it's literally just a blurring of the original image that gets overlaid on top
(only keeping parts that are extremely bright)
I'm not sure how I would do a differently-colored glow around an object. I've certainly done outlines before.
I guess it'd be a similar concept, just with an outline that fades out instead of being solid
oh
than it seems like i need to make my own bloom to make that happen
when i set color to this
can you show an example of what you want
show your shader graph again?
(i tried adding emission by setting it to lit, adding value and switching to unlit but it didnt work)
i suppose there arent any builtin feature that lets me make objects glow without changing their base color
the main reason i need this is this ball under my character
if its rgb values are (0.4, 6, 6) it glows
it has a 1-fresnel effect
with gradient
to make it toony
its color gets multiplied each stage
so its first stage is (0.4, 6, 6) second stage is (.24, 3.6, 3.6)
the problem is only its glow is affected
by the g and b changes
while its r value decreases visibly
so at its first stage its visible color without bloom was (0.4, 1 , 1)
at its second stage its (.24, 1, 1)
only red changes
i can't make this glow because of that
its even more visible if its (6,6,6)
then its %100 white at every stage
main colors range should be 0-1 for this to work