Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

I cannot get it to work. #3

Open
KeyC0de opened this issue Dec 23, 2024 · 0 comments
Open

I cannot get it to work. #3

KeyC0de opened this issue Dec 23, 2024 · 0 comments

Comments

@KeyC0de
Copy link

KeyC0de commented Dec 23, 2024

I can't run below simple shader.

float iTime;	// built-in
float timeSpeed;

struct PSIn
{
	float2 uv : TEXOORD0;
};

struct PSOut
{
	float4 finalColor : SV_TARGET;
};

PSOut main(PSIn input)
{
	PSOut output;
	input.uv.x += iTime * timeSpeed;
	output.finalColor = float4(0, input.uv.x, 0, 1);
	return output;
}
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant