|
|
|
|
|
by soylentgraham
1947 days ago
|
|
What do you want to make! Starting with a software renderer is nuts. Start with unity, make an unlit shader, start doing basic effects (in colours, then using texture samples) using uv coordinates. (In frag, ignore vertexes to start with). Just remember youre just colouring a pixel, on a bit of a surface. |
|
No, not really. You can write a simplistic ray tracer and rasterizer in about 10 - 50 lines tops:
https://github.com/d26900/JamaisVu/blob/main/tests.c
Lines 66 - 91.
The result/screenshot: https://github.com/d26900/JamaisVu
If this is "nuts", then so be it. Let me be nuts. :P