Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Hello! Looking to use this on a project I'm working on. Does this support smooth shading, or is it always faceted?

I'm looking to experiment with this to shade planets, and the last experiment I did with the lighting option available for the 3DObject would only show faceted shading.

Cheers!

This does per pixel shading, however the pixel normal is calculated from the tangent of nearby pixels, so it is effectively a plane. The difference from 3Object lighting is that the light attenuation can vary across the face of a polygon. Additionally spotlight edges can vary across the face of a polygon. Finally, you can enable procedural normals based on diffuse texture which can further vary the normal and light calculation.

I am also experimenting with adding normal map support to this effect with 3DObject, it is not yet available, but if the experiment works out, I'll add it as an option.

(1 edit)

Thanks for the response!
So in this case, is it possible to get smooth shading using procedural normals? Are procedural normals available in this plugin or are you referencing the procedural normals effect? (sorry for the rapid-fire questions)

Having more normal support on the 3D object would be awesome! I think that currently not being able to have smooth shading is holding back the 3DObject and lighting. Would love to get some smooth shading, as right now the only option I seem to have is making a duplicate of the sphere mesh and fake the shading with a gradient effect, which will cause me to have an extra mesh and draw call.

Right now, more focused on normal mapping. if something is critical for a project, I do commissions to. Per vertex color or normals requires major C3 engine optimization. Normal map is major engine optimization too.

Thanks for the response,
I see, even with normal mapping it would be easy enough to create a normal map that smooths out the surface, so one could just do that I guess.
Regarding the commissions, that's good to know! Definitely will be considering at some point. Is there a platform to submit commissions, what are your rates?

You can DM me on the Construct Community discord. We'll see if normal maps come together, have to wrestle with C3 to get them to work.

Thanks! Just joined the Construct 3 Discord, didn't know there was one.