[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vr / w / wg] [i / ic] [r9k / s4s / vip / qa] [cm / hm / lgbt / y] [3 / aco / adv / an / asp / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / qst / sci / soc / sp / tg / toy / trv / tv / vp / wsg / wsr / x] [Settings] [Search] [Home]
Board
Settings Home
/3/ - 3DCG



Thread archived.
You cannot reply anymore.



File: download.png (3 KB, 300x168)
3 KB
3 KB PNG
>How do I program shaders or a video game?
>This is a 3D board, not a programming board!

so, is programming a dirty word here?
>>
>>624915
>so, is programming a dirty word here?
Yes. Fuck off to /g/.
We get too many retards from /v/ who want free assets or think the only thing that 3D is useful for is video games.
Alternatively, if you want to talk about the programming side of video games just go to
>>>/vg/agdg
That said, shader languages are a tad different from standard programming. I don't think anyone here would be opposed to shader talk, as long as it didn't devolve into something else.
I'm not sure if we have too many artists who do that kind of thing though.
It takes a special kind of artist to be able to program your own shaders.
>>
Shader writing is the highest tier of 3d art. Artist have to conform to you. Shader programmers reign supreme over filthy uneducated low-pay maya intern plebs.
>>
Why, hello.
>>
>>624959
>fucking wymale reeeeee
I was gonna say that but then I saw this

Everifuckingtyme
>>
>>624962
>t. Brainlet
>>
>>624915
>is programming a dirty word here?
>is programming a dirty word here?
>is programming a dirty word here?
>is programming a dirty word here?
>is programming a dirty word here?

we're a VULKAN ONLY CLUB, FUCKER
>>
>>624924
I don't give a fuck about video games, I care about graphics programming.

>>624942
I like this post.
>>
File: linus_says_hello.png (158 KB, 639x349)
158 KB
158 KB PNG
>>624924
>implying the /g/entoo men want a technical art thread
>implying they do anything other than rice phones, write one liner fizzbuzz C programs, and unbox dragon dildos
>>
>>624942
Tx I feel good about myself now lool
>>
>>624942
tru
>>
>>625023
I was commenting on the "Programming" being a diry word bit.
But they probably don't program either.
>>625021
>I don't give a fuck about video games
If only /v/ understood this.
>>
Shaders are core /3/ if you disagree you're a brainlet
>>
>>625806
>>625724
>>625485

cool so post some shaders
>>
>>625023
Pretty accurate. We also ask about how to spend our money.
>>
File: unknown.png (149 KB, 561x451)
149 KB
149 KB PNG
>>62600
Here's a basic geometry program to visualize normals. Can't post other shit because I'm not at home right now. Might post some other vertex/fragment shit if the thread stays alive in the next three days.
>>
>>626007
post the code and talk about it a little?
>>
>>625806
So is math, but I don't think that's the point of this board. It's like saying pencil manufacturing pipeline discussion belongs to /ic/.

On other news, I can't decide if I like ray tracing more than I like real time rendering; they are both such interesting problems. I've thought of writing a 3d modeling and sculpting software just to solve all these cool problems.
>>
>>626047
I don't have the code right now. Had the image lingering in one of my DMs. But basically it goes like this: Create a vert at each normal's position. Then create another vert at the same place and scale it up using the corresponding normal direction. Make sure the normal vector is normalized. Multiply with an arbitrary number if you want to extend the normal visualization.
Anyway, if you want to learn shaders, pull up any shader development software(or use the some API, like Win32) and the documentation (MSDN if you want to learn HLSL or Cg, very similar) side by side. Find simple shaders on the web first, and analyze the whole code and implement the things you understand in your own shaders. Needs a lot of practice though.
>>
>>626074
Forgot to paste the link, but you'll probably want to start here: https://msdn.microsoft.com/en-us/library/windows/desktop/dn643748(v=vs.85).aspx
>>
There is a amateur game dev general (agdg) on /vg/
>>
>>626076
Are you retarded? Even if you dont know what a shader is you would have learned by reading the thread.
>>
File: 1527905591218.gif (471 KB, 500x346)
471 KB
471 KB GIF
>>626125
>I'm too cool for the containment board mommy!
>these 30 lines of GLSL will surely get me a job!
>>
>>626506
What containment board? Isn't this the 3d graphics board? Do you still not understand how 3d graphics are made? Are you okay, anon?
>>
>>624915
Shaders definitely belong on here, games don't.
>>
>>626073
It's more like if you created the pencil yourself. I'm pretty sure /ic/ would be all over that,
>>626076
agdg was linked in the first post. But we're not talking about gamedev here. We're talking about shaders.
>>626506
>Cringe Compilations Post is Cringe
2Meta5Me




Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.