SyntaxBomb - Indie Coders

General Category => Showcase => Topic started by: iWasAdam on April 02, 2018, 11:52:48

Title: 3 views of blood sewer
Post by: iWasAdam on April 02, 2018, 11:52:48
Here's 3 views of the same position from blood sewer.
This is a great example of the new lighting systems in full operation giving glowing blood-red fluid.

first is the normal view:
(https://vjointeractive.files.wordpress.com/2018/04/screen-shot-2018-04-02-at-11-45-44.png)

Next we have the inhabit view - think Dungeon master
(https://vjointeractive.files.wordpress.com/2018/04/screen-shot-2018-04-02-at-11-45-23.png)

And finally the overhead view - where you can see much more of the table and tiles:
(https://vjointeractive.files.wordpress.com/2018/04/screen-shot-2018-04-02-at-11-45-14.png)
Title: Re: 3 views of blood sewer
Post by: Derron on April 02, 2018, 12:00:27
Last picture looks best - as it does not expose that "2d pixel"-drawings that much. So the whole thing - imho - looks better fitting together.

bye
Ron
Title: Re: 3 views of blood sewer
Post by: RemiD on April 03, 2018, 07:42:47
Nice ambiance, but the light flares looks weird imo.

Also, maybe try to create a low tris 3D characters to replace your flat 2D drawing, it will probably look better if you like to play with lighting shading.

You can use these low tris 3D characters (similar style) just for testing :
nuloen.com/wk.html
Title: Re: 3 views of blood sewer
Post by: Derron on April 03, 2018, 07:51:50
First two screens expose that the red glowing lava is not lighting the area right on top of it. The stones in the red stuff get darker and darker from top to bottom while they should get lit a bit. Or do I assume something wrong?

bye
Ron
Title: Re: 3 views of blood sewer
Post by: Derron on April 03, 2018, 07:56:36
You should be able to "fake" the lighting by adding some kind of "glow" quad some pixels higher (z-wise) than the flowing-red-something.

bye
Ron
Title: Re: 3 views of blood sewer
Post by: RemiD on April 03, 2018, 10:18:46
if the lighting comes from the lava, yes there is something wrong : the top of the beams should not be lighted !

This is not necessarily a problem with your lighting shading procedures but maybe a problem with how your surfaces are structured (the smoothing groups) some vertices may be shared between triangles when they should not be (depending on the angle between the 2 triangles normals)
Title: Re: 3 views of blood sewer
Post by: iWasAdam on April 03, 2018, 11:30:27
Thanks for the replies guys.
The lighting works completely different from any other lighting systems. the lighting is calculated on the cpu then fed into the gpu per frame allowing for automatic shadows as a tradeoff. the other thing is it is solid in the vertical - there is no falloff.

So there is no actual problem with shading groups - there aren't any! But your quite right in that I should add some form of falloff for the lighting that will compensate for the top of the beams. I'll have a look into that :)


Title: Re: 3 views of blood sewer
Post by: RemiD on April 03, 2018, 12:18:17
So your lighting shading system does not take into account the angle between lightsource vector -> vertex normal vector ? only the distance between lightsource -> surfacescreenpixel / surfacetexel ?
Title: Re: 3 views of blood sewer
Post by: iWasAdam on April 03, 2018, 12:42:14
yes (and no). it uses both, but in different ratios.
There is a single global light source to allow for bump mapping. the actual lighting itself uses this plus the incoming lightmap.
The lightmap is pixel based so there is no actual source - just the light itself.

But...
for every 3d object. there is a color morphed with a texture plus a lightmap plus global lighting plus bump mapping and finally some highlighting.
These are controlled per frame and per object, so all or any input can be changed. in practice this is done in the tile editor, where color/texture/bump is available via a slider for simplicity

Here's a shot with a pillar object
(https://vjointeractive.files.wordpress.com/2018/04/screen-shot-2018-04-03-at-12-36-17.png)
- all 3 pillars have the same base color - they could be different
- the first has no texture and no bump/highlight
- the second has just bump/highlight added at full
- the third has just texture added at full

All of these are mixed to get the required 'look'

Texturing and bump mapping come from a single uber texture. there is only one texture used for EVERYTHING. All models get their textures from this single image. It is currently rgb, but could be just a single channel with the 2 other channels used for other information if required.

Base bump mapping comes from a single normal map for everything with only one texture.

Everything (model data and texture data) is send to the GPU at startup and then kept there.
the only data that is sent to the GPU each frame is what object are wanted, where, and their surface information - several floats per object. NO 3d data or texture data is ever sent (it's already there)
Title: Re: 3 views of blood sewer
Post by: RemiD on April 03, 2018, 19:42:33
for per pixel lighting shading, even with my limited understanding, i think that the vertices normals are considered. (=the parts of the surface facing the opposite side of the lightsource, should not be lighted)
Title: Re: 3 views of blood sewer
Post by: iWasAdam on April 04, 2018, 06:15:05
You're missing the point. THERE ARE NO LIGHT SOURCES. I AM NOT USING ANY 3D LIGHTING!!!
Title: Re: 3 views of blood sewer
Post by: RemiD on April 04, 2018, 07:40:56
Ok, that's why it looks weird ;)
https://www.youtube.com/watch?v=bcxX0R8nnDs
Title: Re: 3 views of blood sewer
Post by: iWasAdam on April 04, 2018, 10:46:14
REMID I AM NOT USIONG ANY LIGHTING OR INPUTTED NORMALS

HOW MANY TIMES... THERE ARE NO 3D LIGHTS BEING USED!!!!!!!!!

I AM NOT USING ANY 3D LIGHTING

EL LIGHT NADA MORTE

PLINKO EN LIGHTAMA TU NADA ES

NO LIGHTS HERE

........!!!!!!!!
Title: Re: 3 views of blood sewer
Post by: RemiD on April 04, 2018, 18:07:22
ok ok ok
youtube.com/watch?v=oy5TJ0s2HJs
Title: Re: 3 views of blood sewer
Post by: Naughty Alien on April 05, 2018, 02:36:52
 ;D why so seerious  ;D
Title: Re: 3 views of blood sewer
Post by: Matty on April 05, 2018, 03:23:31
I think it looks nice...wish I had the motivation to make stuff still. But yeah..looks great...love the colours and the concepts...just wish you'd finish something for windows users one day...eventually you will I know...but it looks excellent.
Title: Re: 3 views of blood sewer
Post by: iWasAdam on April 05, 2018, 06:10:09
mmmm. @Matty
no worries ;)
but (thinks...):
(currently downloadable)
- BloodCrypt - inDevelopment and windows download
- SyntaxBomb - finished and windows download
- ColorMeRogue - finished and windows download
- all of the newer tools - finished with windows download
(no longer available)
- Pyragrid - finished and windows download
- RainbowClosets - finished and windows download
- RobTheBlob - finished and windows download
:-*
Title: Re: 3 views of blood sewer
Post by: iWasAdam on April 15, 2018, 14:25:49
Gearing up for new really big release soon....

Now comes with spikes and potions:
(https://vjointeractive.files.wordpress.com/2018/04/screen-shot-2018-04-15-at-10-20-11.png)