#💬 FernandoPelarichʹs Feedback
1 messages · Page 1 of 1 (latest)
@half vale is called Trompe L'oeil
no im not
howd you get the the right colors
wdym with right colors
I wish i can code those types of stuffs..
like get the colors from the block
like even the shadow colors are right
howd you do it
i just cloned the object
like
i projected it using viewportframes and math stuff
then i cloned the object into that viewportframes
indeed
what
howd you get the two shades then
ignore the fact that the block is named sphere
is the tecnology that viewportframe uses
like
if you put inide a block
you can see the different shades that are reflected with the property LightDIrection
oh also the light direction is the negative sun direction
actually not
oh?
because they ray would only detect the center of the block to the hit
i needed to make a function that moves the block foward the camera until it is not visible in the field of view
then put the block back to original position
and save the hit or hits that intersected the part
thats very interesting
that way it also works with meshes
learned alot thx
yw
the only problem is
that viewportframes have very poor technology
so sometimes it has bad quality
like here
smart..
?
burger burger burger
@viscid oracle weird question but did you edit it midway?
nope
oh wait did you use a view port?
yes
oh
oh lol