B4J Question How to make light effects or emulate light source using B4J? [Solved]

JGParamo

Active Member
Licensed User
Has anyone been able to use B4J (or XUI2D/X2) to make a light shader that can be cross-platform? Any library or code snippet using B4J (or XUI2D) or something that can be used with little modification between B4A and B4J may do (shown image is done using LibGDX in B4A). My particular interest is on certain portion of an image, say a circular area similar to that when pointing a flashlight to a photo in a dark environment where the circular light pattern is soft at the edge. Thanks.
1617412179551.png
 
Last edited:

JGParamo

Active Member
Licensed User
Has anyone been able to use B4J (or XUI2D/X2) to make a light shader that can be cross-platform? Any library or code snippet using B4J (or XUI2D) or something that can be used with little modification between B4A and B4J may do (shown image is done using LibGDX in B4A). My particular interest is on certain portion of an image, say a circular area similar to that when pointing a flashlight to a photo in a dark environment where the circular light pattern is soft at the edge. Thanks.
View attachment 110896

This question was answered by @ilan in the GAMES Forum. Case closed but you may add additional comments or answers as you deem it necessary. Thank you.
 
Upvote 0
Top