Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (Imhotep, opm), 785 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Pixel Shader Issue #481166
08/08/20 20:41
08/08/20 20:41
Joined: May 2005
Posts: 868
Chicago, IL
Dooley Offline OP
User
Dooley  Offline OP
User

Joined: May 2005
Posts: 868
Chicago, IL
I am using the Oldschool Pixel Shader for my current project. I want to make a 64x64 pixel window, but allow it to be bigger on screen.

So I set the window to 640 x 640, then apply the Oldschool Pixel Shader at 64 x 64.

It works, and each "pixel" is 10 x 10 actual pixels. however it seems to start halfway through a "pixel," so the first "pixel" in each column or row is only 5 x 5 or 5 x 10 pixels.

[Linked Image]

Is there any way to remove this offset so the full pixel begins in the corner?

Re: Pixel Shader Issue [Re: Dooley] #481167
08/09/20 10:35
08/09/20 10:35
Joined: Jun 2007
Posts: 1,337
Hiporope and its pain
txesmi Offline
Serious User
txesmi  Offline
Serious User

Joined: Jun 2007
Posts: 1,337
Hiporope and its pain
That happens on scaled up panels. If that is the case there is nothing you can do but change the drawing system.

I would render the level over a 64x64 bitmap and scale it up by a post process view.

Re: Pixel Shader Issue [Re: txesmi] #481168
08/09/20 13:19
08/09/20 13:19
Joined: May 2005
Posts: 868
Chicago, IL
Dooley Offline OP
User
Dooley  Offline OP
User

Joined: May 2005
Posts: 868
Chicago, IL
That's a better idea. I ended up making it 650 x 650 and putting a 5 pixel wide frame around it. The game jam allowed for having frames, so that was an easy remedy laugh

[Linked Image]

Last edited by Dooley; 08/09/20 13:20.
Re: Pixel Shader Issue [Re: Dooley] #481336
08/28/20 11:46
08/28/20 11:46
Joined: Aug 2020
Posts: 3
R
Raveeshyui Offline
Guest
Raveeshyui  Offline
Guest
R

Joined: Aug 2020
Posts: 3
Thanks for the info!


Moderated by  Blink, Hummel, Superku 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1